1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Fix function MipsRegisterInfo::getRegisterNumbering.

llvm-svn: 130774
This commit is contained in:
Akira Hatanaka 2011-05-03 18:41:54 +00:00
parent 78011dcf2e
commit 5a2b3f0120

View File

@ -65,16 +65,16 @@ getRegisterNumbering(unsigned RegEnum)
case Mips::T5 : case Mips::F13: return 13;
case Mips::T6 : case Mips::F14: case Mips::D7: return 14;
case Mips::T7 : case Mips::F15: return 15;
case Mips::T8 : case Mips::F16: case Mips::D8: return 16;
case Mips::T9 : case Mips::F17: return 17;
case Mips::S0 : case Mips::F18: case Mips::D9: return 18;
case Mips::S1 : case Mips::F19: return 19;
case Mips::S2 : case Mips::F20: case Mips::D10: return 20;
case Mips::S3 : case Mips::F21: return 21;
case Mips::S4 : case Mips::F22: case Mips::D11: return 22;
case Mips::S5 : case Mips::F23: return 23;
case Mips::S6 : case Mips::F24: case Mips::D12: return 24;
case Mips::S7 : case Mips::F25: return 25;
case Mips::S0 : case Mips::F16: case Mips::D8: return 16;
case Mips::S1 : case Mips::F17: return 17;
case Mips::S2 : case Mips::F18: case Mips::D9: return 18;
case Mips::S3 : case Mips::F19: return 19;
case Mips::S4 : case Mips::F20: case Mips::D10: return 20;
case Mips::S5 : case Mips::F21: return 21;
case Mips::S6 : case Mips::F22: case Mips::D11: return 22;
case Mips::S7 : case Mips::F23: return 23;
case Mips::T8 : case Mips::F24: case Mips::D12: return 24;
case Mips::T9 : case Mips::F25: return 25;
case Mips::K0 : case Mips::F26: case Mips::D13: return 26;
case Mips::K1 : case Mips::F27: return 27;
case Mips::GP : case Mips::F28: case Mips::D14: return 28;