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

Renato Golin rengolin at systemcall.org
Wed Nov 28 01:07:05 PST 2012


Hi Silviu,

I can't see anything wrong with it, but then again, it's been a while
that I've looked to ISelLowering.

Unless anyone else has any objections, LGTM.

cheers,
--renato

On 26 November 2012 16:38, Silviu Baranga <silbar01 at arm.com> wrote:
> 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
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>



-- 
cheers,
--renato

http://systemcall.org/



More information about the llvm-commits mailing list