Add support for the "Y" register, used by MUL & DIV.

llvm-svn: 12734
This commit is contained in:
Brian Gaeke 2004-04-07 04:01:11 +00:00
parent 5524d54c02
commit 322423181b
1 changed files with 9 additions and 0 deletions

View File

@ -24,6 +24,15 @@ class Rf<bits<5> num> : Register {
class Rd<bits<5> num> : Register {
field bits<5> Num = num;
}
// Rs - Special "ancillary state 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>;