| Index: src/IceTargetLoweringMIPS32.h
|
| diff --git a/src/IceTargetLoweringMIPS32.h b/src/IceTargetLoweringMIPS32.h
|
| index 472eeb59acc3ff5941a587ff89f1fec3d6b7c512..57b9329cc0a613f3881decf9c6b51a120c98597d 100644
|
| --- a/src/IceTargetLoweringMIPS32.h
|
| +++ b/src/IceTargetLoweringMIPS32.h
|
| @@ -137,6 +137,10 @@ public:
|
| Context.insert<InstMIPS32Add>(Dest, Src0, Src1);
|
| }
|
|
|
| + void _addu(Variable *Dest, Variable *Src0, Variable *Src1) {
|
| + Context.insert<InstMIPS32Addu>(Dest, Src0, Src1);
|
| + }
|
| +
|
| void _and(Variable *Dest, Variable *Src0, Variable *Src1) {
|
| Context.insert<InstMIPS32And>(Dest, Src0, Src1);
|
| }
|
| @@ -185,6 +189,14 @@ public:
|
| Context.insert<InstMIPS32Sub>(Dest, Src0, Src1);
|
| }
|
|
|
| + void _sltu(Variable *Dest, Variable *Src0, Variable *Src1) {
|
| + Context.insert<InstMIPS32Sltu>(Dest, Src0, Src1);
|
| + }
|
| +
|
| + void _subu(Variable *Dest, Variable *Src0, Variable *Src1) {
|
| + Context.insert<InstMIPS32Subu>(Dest, Src0, Src1);
|
| + }
|
| +
|
| void _xor(Variable *Dest, Variable *Src0, Variable *Src1) {
|
| Context.insert<InstMIPS32Xor>(Dest, Src0, Src1);
|
| }
|
| @@ -235,6 +247,8 @@ protected:
|
|
|
| void lowerAlloca(const InstAlloca *Inst) override;
|
| void lowerArithmetic(const InstArithmetic *Inst) override;
|
| + void lowerInt64Arithmetic(const InstArithmetic *Inst, Variable *Dest,
|
| + Operand *Src0, Operand *Src1);
|
| void lowerAssign(const InstAssign *Inst) override;
|
| void lowerBr(const InstBr *Inst) override;
|
| void lowerCall(const InstCall *Inst) override;
|
|
|