This patch implements __builtin_arm_nop intrinsic for AArch32 and AArch64, which generates hint 0x0, the alias of NOP instruction.
This intrinsic is necessary to implement ACLE __nop intrinsic.
Paths
| Differential D4495
ARM: Implement __builtin_arm_nop intrinsic ClosedPublic Authored by kongyi on Jul 14 2014, 7:41 AM.
Details Summary This patch implements __builtin_arm_nop intrinsic for AArch32 and AArch64, which generates hint 0x0, the alias of NOP instruction. This intrinsic is necessary to implement ACLE __nop intrinsic.
Diff Detail
Event Timelinekongyi updated this object. t.p.northover edited edge metadata. Comment ActionsHi Yi, The code looks reasonable, but I don't think there's any real reason to separate NOP from the other hints in BuiltinsARM.def. Cheers. Tim. This revision is now accepted and ready to land.Jul 14 2014, 7:59 AM
Revision Contents
Diff 11385 cfe/trunk/include/clang/Basic/BuiltinsAArch64.def
cfe/trunk/include/clang/Basic/BuiltinsARM.def
cfe/trunk/lib/CodeGen/CGBuiltin.cpp
cfe/trunk/test/CodeGen/builtins-arm.c
cfe/trunk/test/CodeGen/builtins-arm64.c
|