Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: src/IceInstMIPS32.cpp

Issue 2096563004: [Subzero][MIPS32] Implements addEpilog for MIPS32 (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceInstMIPS32.h ('k') | src/IceTargetLoweringMIPS32.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/IceInstMIPS32.h ('k') | src/IceTargetLoweringMIPS32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698