mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Merge my changes with brians
llvm-svn: 12736
This commit is contained in:
parent
ece16e53c4
commit
a58da750eb
@ -24,16 +24,12 @@ class Rf<bits<5> num> : Register {
|
||||
class Rd<bits<5> num> : Register {
|
||||
field bits<5> Num = num;
|
||||
}
|
||||
// Rs - Special "ancillary state registers"
|
||||
// Rs - Special "ancillary state registers" registers, like the Y, ASR, PSR,
|
||||
// WIM, TBR, etc registers
|
||||
class Rs<bits<5> num> : Register {
|
||||
field bits<5> Num = num;
|
||||
}
|
||||
|
||||
// Special register used for multiplies and divides
|
||||
let Namespace = "V8" in {
|
||||
def Y : Rs<0>;
|
||||
}
|
||||
|
||||
let Namespace = "V8" in {
|
||||
def G0 : Ri< 0>; def G1 : Ri< 1>; def G2 : Ri< 2>; def G3 : Ri< 3>;
|
||||
def G4 : Ri< 4>; def G5 : Ri< 5>; def G6 : Ri< 6>; def G7 : Ri< 7>;
|
||||
@ -62,6 +58,9 @@ let Namespace = "V8" in {
|
||||
def D4 : Rd< 8>; def D5 : Rd<10>; def D6 : Rd<12>; def D7 : Rd<14>;
|
||||
def D8 : Rd<16>; def D9 : Rd<18>; def D10 : Rd<20>; def D11 : Rd<22>;
|
||||
def D12 : Rd<24>; def D13 : Rd<26>; def D14 : Rd<28>; def D15 : Rd<30>;
|
||||
|
||||
// The Y register.
|
||||
def Y : Rs<0>;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user