mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-26 04:34:41 +00:00
R0 is a sub-register of X0, etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36939 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1cc0096d55
commit
43182ac0d6
@ -22,9 +22,9 @@ class GPR<bits<5> num, string n> : PPCReg<n> {
|
||||
}
|
||||
|
||||
// GP8 - One of the 32 64-bit general-purpose registers
|
||||
class GP8<GPR Alias> : PPCReg<Alias.Name> {
|
||||
field bits<5> Num = Alias.Num;
|
||||
let Aliases = [Alias];
|
||||
class GP8<GPR SubReg> : PPCReg<SubReg.Name> {
|
||||
field bits<5> Num = SubReg.Num;
|
||||
let SubRegs = [SubReg];
|
||||
}
|
||||
|
||||
// SPR - One of the 32-bit special-purpose registers
|
||||
|
Loading…
x
Reference in New Issue
Block a user