[llvm] [clang] [PowerPC] Make "ca" aliased to "xer" (PR #77557)

Kai Luo via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 16 03:07:37 PST 2024


================
@@ -288,9 +288,9 @@ def SPEFSCR: SPR<512, "spefscr">, DwarfRegNum<[612, 112]>;
 
 def XER: SPR<1, "xer">, DwarfRegNum<[76]>;
 
-// Carry bit.  In the architecture this is really bit 0 of the XER register
-// (which really is SPR register 1);  this is the only bit interesting to a
-// compiler.
+// Carry bit. In the architecture this is really bit 2 of the 32-bit XER
----------------
bzEq wrote:

I'll update it according to OpenPower's ISA, since it's more generally available.

https://github.com/llvm/llvm-project/pull/77557


More information about the cfe-commits mailing list