]> granicus.if.org Git - clang/commit
arm_acle: Implement swap intrinsic
authorYi Kong <Yi.Kong@arm.com>
Tue, 26 Aug 2014 09:50:54 +0000 (09:50 +0000)
committerYi Kong <Yi.Kong@arm.com>
Tue, 26 Aug 2014 09:50:54 +0000 (09:50 +0000)
commitae401c85d2e76237a2cefafb1fb9c6035e5d50b7
treedaede2bf99aa16e41f3fab920a4de9230dd8a040
parent655e70bcb60ff129c20638add8a5a74a1f485690
arm_acle: Implement swap intrinsic

Insert the LDREX/STREX instruction sequence specified in ARM ACLE 2.0,
as SWP instruction is deprecated since ARMv6.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216446 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/arm_acle.h
test/CodeGen/arm_acle.c