| Index: src/IceTargetLoweringMIPS32.h
|
| diff --git a/src/IceTargetLoweringMIPS32.h b/src/IceTargetLoweringMIPS32.h
|
| index 3a83b3d3c645ad347a659adbddcc69ab2101119d..c726cf20585683684541a992d81f9b061f1b1d5c 100644
|
| --- a/src/IceTargetLoweringMIPS32.h
|
| +++ b/src/IceTargetLoweringMIPS32.h
|
| @@ -263,6 +263,18 @@ public:
|
| Context.insert<InstMIPS32Lui>(Dest, Src, Reloc);
|
| }
|
|
|
| + void _mfc1(Variable *Dest, Variable *Src) {
|
| + Context.insert<InstMIPS32Mfc1>(Dest, Src);
|
| + }
|
| +
|
| + void _mfhi(Variable *Dest, Operand *Src) {
|
| + Context.insert<InstMIPS32Mfhi>(Dest, Src);
|
| + }
|
| +
|
| + void _mflo(Variable *Dest, Operand *Src) {
|
| + Context.insert<InstMIPS32Mflo>(Dest, Src);
|
| + }
|
| +
|
| void _mov(Variable *Dest, Operand *Src0) {
|
| assert(Dest != nullptr);
|
| // Variable* Src0_ = llvm::dyn_cast<Variable>(Src0);
|
| @@ -287,16 +299,28 @@ public:
|
| Context.insert<InstMIPS32Mov_s>(Dest, Src);
|
| }
|
|
|
| - void _mfc1(Variable *Dest, Variable *Src) {
|
| - Context.insert<InstMIPS32Mfc1>(Dest, Src);
|
| + void _movn(Variable *Dest, Variable *Src0, Variable *Src1) {
|
| + Context.insert<InstMIPS32Movn>(Dest, Src0, Src1);
|
| }
|
|
|
| - void _mfhi(Variable *Dest, Operand *Src) {
|
| - Context.insert<InstMIPS32Mfhi>(Dest, Src);
|
| + void _movn_d(Variable *Dest, Variable *Src0, Variable *Src1) {
|
| + Context.insert<InstMIPS32Movn_d>(Dest, Src0, Src1);
|
| }
|
|
|
| - void _mflo(Variable *Dest, Operand *Src) {
|
| - Context.insert<InstMIPS32Mflo>(Dest, Src);
|
| + void _movn_s(Variable *Dest, Variable *Src0, Variable *Src1) {
|
| + Context.insert<InstMIPS32Movn_s>(Dest, Src0, Src1);
|
| + }
|
| +
|
| + void _movz(Variable *Dest, Variable *Src0, Variable *Src1) {
|
| + Context.insert<InstMIPS32Movz>(Dest, Src0, Src1);
|
| + }
|
| +
|
| + void _movz_d(Variable *Dest, Variable *Src0, Variable *Src1) {
|
| + Context.insert<InstMIPS32Movz_d>(Dest, Src0, Src1);
|
| + }
|
| +
|
| + void _movz_s(Variable *Dest, Variable *Src0, Variable *Src1) {
|
| + Context.insert<InstMIPS32Movz_s>(Dest, Src0, Src1);
|
| }
|
|
|
| void _mtc1(Variable *Dest, Variable *Src) {
|
|
|