mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Specify the value type for the register, not just the size.
llvm-svn: 7357
This commit is contained in:
parent
163559e702
commit
da51c38e57
@ -9,7 +9,10 @@
|
||||
class V9Reg : Register { set Namespace = "SparcV9"; }
|
||||
|
||||
// Ri - One of the 32 64 bit integer registers
|
||||
class Ri<bits<5> num> : V9Reg { set Size = 64; field bits<5> Num = num; }
|
||||
class Ri<bits<5> num> : V9Reg {
|
||||
set RegType = i64; // All integer registers are 64 bits in size
|
||||
field bits<5> Num = num; // Numbers are identified with a 5 bit ID
|
||||
}
|
||||
|
||||
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>;
|
||||
|
Loading…
Reference in New Issue
Block a user