[llvm-commits] [PATCH] Enable atomic64 min/max operations on ARM

Silviu Baranga silbar01 at arm.com
Mon Nov 26 08:38:17 PST 2012


Hi,

The attached patch implements code generation for atomic64 min/max/umin/umax
Operations for ARM. The patch extends the functionality of the
EmitAtomicBinary64
Function to achieve this.

The compare operation needed to implement this is done using sub/sbc
instructions, in order to unify the signed and unsigned cases.

The patch also adds tests for all the implemented operations.

Please review!

Thanks,
Silviu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atomic_minmax_cpy.diff
Type: application/octet-stream
Size: 11970 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121126/b2d79b47/attachment.obj>


More information about the llvm-commits mailing list