[PATCH] Add support for part-word atomics for PPC
nemanja.i.ibm at gmail.com
Thu Mar 5 14:12:32 PST 2015
Hi wschmidt, hfinkel, kbarton,
This patch does two things:
1. Adds support for part-word atomic instructions for Power7 (ISA 2.06) and Power8 (ISA 2.07)
2. Adds the "lock" versions of all of the loads. These are the loads with the Exclusive Access hint bit set to 1
Atomic instructions in the IR will now use the part-word versions on platforms that support them (for types i8 and i16). The lock versions are only available through asm for now.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 23017 bytes
Desc: not available
More information about the llvm-commits