Index: src/IceInstMIPS32.def |
diff --git a/src/IceInstMIPS32.def b/src/IceInstMIPS32.def |
index c7eb47d5ba4caf42067564a7834abf8edad4fda7..fce37ac9e70c3d82930c2f6d471b788b4e987eb7 100644 |
--- a/src/IceInstMIPS32.def |
+++ b/src/IceInstMIPS32.def |
@@ -103,6 +103,10 @@ |
ALIASES1(Reg_FP)) \ |
X(Reg_RA, = Reg_ZERO + 31, "ra", 0, 1, 0, 0, 0, 0, 0, 0, 0, \ |
ALIASES1(Reg_RA)) \ |
+ X(Reg_LO, = Reg_ZERO + 32, "lo", 0, 0, 0, 0, 1, 0, 0, 0, 0, \ |
Jim Stichnoth
2016/02/19 14:53:09
The "encode" column should probably have some sent
Jim Stichnoth
2016/02/19 14:53:09
You have put 1's in the isInt column. This makes
rkotlerimgtec
2016/02/19 23:53:32
Done.
rkotlerimgtec
2016/02/19 23:53:32
Done.
|
+ ALIASES2(Reg_LO, Reg_LOHI)) \ |
+ X(Reg_HI, = Reg_ZERO + 33, "hi", 0, 0, 0, 0, 1, 0, 0, 0, 0, \ |
+ ALIASES2(Reg_HI, Reg_LOHI)) |
//#define X(val, encode, name, scratch, preserved, stackptr, frameptr, |
// isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) |
// TODO(reed kotler): List FP registers etc. |
@@ -142,6 +146,8 @@ |
ALIASES3(Reg_S6, Reg_S7, Reg_S6S7)) \ |
X(Reg_T8T9, 26, "t8, t9", 1, 0, 0, 0, 0, 1, 0, 0, 0, \ |
ALIASES3(Reg_T8, Reg_T9, Reg_T8T9)) \ |
+ X(Reg_LOHI, 8, "lo, hi", 1, 0, 0, 0, 0, 1, 0, 0, 0, \ |
Jim Stichnoth
2016/02/19 14:53:09
Same comments as above - 0's in all the bool colum
rkotlerimgtec
2016/02/19 23:53:32
Done.
|
+ ALIASES3(Reg_LO, Reg_HI, Reg_LOHI)) \ |
//#define X(val, encode, name, scratch, preserved, stackptr, frameptr, |
// isInt, isI64Pair, isFP32, isFP64, isVec128, alias_init) |
@@ -160,9 +166,9 @@ |
#define REGMIPS32_TABLE_BOUNDS \ |
/* val, init */ \ |
X(Reg_GPR_First, = Reg_ZERO) \ |
- X(Reg_GPR_Last, = Reg_RA) \ |
+ X(Reg_GPR_Last, = Reg_HI) \ |
X(Reg_I64PAIR_First, = Reg_V0V1) \ |
- X(Reg_I64PAIR_Last, = Reg_T8T9) \ |
+ X(Reg_I64PAIR_Last, = Reg_LOHI) \ |
//define X(val, init) |
// TODO(reed kotler): add condition code tables, etc. |