| OLD | NEW |
| 1 //===- subzero/src/IceInstMips32.cpp - Mips32 instruction implementation --===// | 1 //===- subzero/src/IceInstMips32.cpp - Mips32 instruction implementation --===// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 // |
| 10 /// \file | 10 /// \file |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 template <> const char *InstMIPS32Cvt_s_d::Opcode = "cvt.s.d"; | 73 template <> const char *InstMIPS32Cvt_s_d::Opcode = "cvt.s.d"; |
| 74 template <> const char *InstMIPS32Cvt_s_l::Opcode = "cvt.s.l"; | 74 template <> const char *InstMIPS32Cvt_s_l::Opcode = "cvt.s.l"; |
| 75 template <> const char *InstMIPS32Cvt_s_w::Opcode = "cvt.s.w"; | 75 template <> const char *InstMIPS32Cvt_s_w::Opcode = "cvt.s.w"; |
| 76 template <> const char *InstMIPS32Div::Opcode = "div"; | 76 template <> const char *InstMIPS32Div::Opcode = "div"; |
| 77 template <> const char *InstMIPS32Div_d::Opcode = "div.d"; | 77 template <> const char *InstMIPS32Div_d::Opcode = "div.d"; |
| 78 template <> const char *InstMIPS32Div_s::Opcode = "div.s"; | 78 template <> const char *InstMIPS32Div_s::Opcode = "div.s"; |
| 79 template <> const char *InstMIPS32Divu::Opcode = "divu"; | 79 template <> const char *InstMIPS32Divu::Opcode = "divu"; |
| 80 template <> const char *InstMIPS32La::Opcode = "la"; | 80 template <> const char *InstMIPS32La::Opcode = "la"; |
| 81 template <> const char *InstMIPS32Ldc1::Opcode = "ldc1"; | 81 template <> const char *InstMIPS32Ldc1::Opcode = "ldc1"; |
| 82 template <> const char *InstMIPS32Lui::Opcode = "lui"; | 82 template <> const char *InstMIPS32Lui::Opcode = "lui"; |
| 83 template <> const char *InstMIPS32Lw::Opcode = "lw"; |
| 83 template <> const char *InstMIPS32Lwc1::Opcode = "lwc1"; | 84 template <> const char *InstMIPS32Lwc1::Opcode = "lwc1"; |
| 84 template <> const char *InstMIPS32Mfc1::Opcode = "mfc1"; | 85 template <> const char *InstMIPS32Mfc1::Opcode = "mfc1"; |
| 85 template <> const char *InstMIPS32Mfhi::Opcode = "mfhi"; | 86 template <> const char *InstMIPS32Mfhi::Opcode = "mfhi"; |
| 86 template <> const char *InstMIPS32Mflo::Opcode = "mflo"; | 87 template <> const char *InstMIPS32Mflo::Opcode = "mflo"; |
| 87 template <> const char *InstMIPS32Mov_d::Opcode = "mov.d"; | 88 template <> const char *InstMIPS32Mov_d::Opcode = "mov.d"; |
| 88 template <> const char *InstMIPS32Mov_s::Opcode = "mov.s"; | 89 template <> const char *InstMIPS32Mov_s::Opcode = "mov.s"; |
| 89 template <> const char *InstMIPS32Mtc1::Opcode = "mtc1"; | 90 template <> const char *InstMIPS32Mtc1::Opcode = "mtc1"; |
| 90 template <> const char *InstMIPS32Mthi::Opcode = "mthi"; | 91 template <> const char *InstMIPS32Mthi::Opcode = "mthi"; |
| 91 template <> const char *InstMIPS32Mtlo::Opcode = "mtlo"; | 92 template <> const char *InstMIPS32Mtlo::Opcode = "mtlo"; |
| 92 template <> const char *InstMIPS32Mul::Opcode = "mul"; | 93 template <> const char *InstMIPS32Mul::Opcode = "mul"; |
| (...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 572 } | 573 } |
| 573 | 574 |
| 574 Str << "\t"; | 575 Str << "\t"; |
| 575 getDest()->emit(Func); | 576 getDest()->emit(Func); |
| 576 Str << ", "; | 577 Str << ", "; |
| 577 getSrc(0)->emit(Func); | 578 getSrc(0)->emit(Func); |
| 578 } | 579 } |
| 579 | 580 |
| 580 } // end of namespace MIPS32 | 581 } // end of namespace MIPS32 |
| 581 } // end of namespace Ice | 582 } // end of namespace Ice |
| OLD | NEW |