X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FTarget%2FSparcV8%2FSparcV8RegisterInfo.td;h=ca0bcdc171cefac2efd118fe30cf7fcafee4624f;hp=6d2496dbcb20c0aa883dc420f95cfe446b9d6c64;hb=f97b31e9cfb528e56603b123eb2a5426b400bd96;hpb=0f51cc1759e2162485b5f9ee57b3b5bc8f5c6759 diff --git a/lib/Target/SparcV8/SparcV8RegisterInfo.td b/lib/Target/SparcV8/SparcV8RegisterInfo.td index 6d2496dbcb2..ca0bcdc171c 100644 --- a/lib/Target/SparcV8/SparcV8RegisterInfo.td +++ b/lib/Target/SparcV8/SparcV8RegisterInfo.td @@ -24,16 +24,12 @@ class Rf num> : Register { class Rd 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 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>; }