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

Side by Side Diff: src/IceInstMIPS32.h

Issue 2354293002: Subzero, MIPS32: Intrinsic call Ctlz for i32 (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addressing review comments Created 4 years, 2 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/IceAssemblerMIPS32.cpp ('k') | src/IceInstMIPS32.cpp » ('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.h - MIPS32 machine instrs --*- C++ -*-----===// 1 //===- subzero/src/IceInstMIPS32.h - MIPS32 machine instrs --*- C++ -*-----===//
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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 C_olt_s, 202 C_olt_s,
203 C_ueq_d, 203 C_ueq_d,
204 C_ueq_s, 204 C_ueq_s,
205 C_ule_d, 205 C_ule_d,
206 C_ule_s, 206 C_ule_s,
207 C_ult_d, 207 C_ult_d,
208 C_ult_s, 208 C_ult_s,
209 C_un_d, 209 C_un_d,
210 C_un_s, 210 C_un_s,
211 Call, 211 Call,
212 Clz,
212 Cvt_d_l, 213 Cvt_d_l,
213 Cvt_d_s, 214 Cvt_d_s,
214 Cvt_d_w, 215 Cvt_d_w,
215 Cvt_s_d, 216 Cvt_s_d,
216 Cvt_s_l, 217 Cvt_s_l,
217 Cvt_s_w, 218 Cvt_s_w,
218 Div, 219 Div,
219 Div_d, 220 Div_d,
220 Div_s, 221 Div_s,
221 Divu, 222 Divu,
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after
1119 using InstMIPS32C_olt_d = InstMIPS32FPCmp<InstMIPS32::C_olt_d>; 1120 using InstMIPS32C_olt_d = InstMIPS32FPCmp<InstMIPS32::C_olt_d>;
1120 using InstMIPS32C_olt_s = InstMIPS32FPCmp<InstMIPS32::C_olt_s>; 1121 using InstMIPS32C_olt_s = InstMIPS32FPCmp<InstMIPS32::C_olt_s>;
1121 using InstMIPS32C_ueq_d = InstMIPS32FPCmp<InstMIPS32::C_ueq_d>; 1122 using InstMIPS32C_ueq_d = InstMIPS32FPCmp<InstMIPS32::C_ueq_d>;
1122 using InstMIPS32C_ueq_s = InstMIPS32FPCmp<InstMIPS32::C_ueq_s>; 1123 using InstMIPS32C_ueq_s = InstMIPS32FPCmp<InstMIPS32::C_ueq_s>;
1123 using InstMIPS32C_ule_d = InstMIPS32FPCmp<InstMIPS32::C_ule_d>; 1124 using InstMIPS32C_ule_d = InstMIPS32FPCmp<InstMIPS32::C_ule_d>;
1124 using InstMIPS32C_ule_s = InstMIPS32FPCmp<InstMIPS32::C_ule_s>; 1125 using InstMIPS32C_ule_s = InstMIPS32FPCmp<InstMIPS32::C_ule_s>;
1125 using InstMIPS32C_ult_d = InstMIPS32FPCmp<InstMIPS32::C_ult_d>; 1126 using InstMIPS32C_ult_d = InstMIPS32FPCmp<InstMIPS32::C_ult_d>;
1126 using InstMIPS32C_ult_s = InstMIPS32FPCmp<InstMIPS32::C_ult_s>; 1127 using InstMIPS32C_ult_s = InstMIPS32FPCmp<InstMIPS32::C_ult_s>;
1127 using InstMIPS32C_un_d = InstMIPS32FPCmp<InstMIPS32::C_un_d>; 1128 using InstMIPS32C_un_d = InstMIPS32FPCmp<InstMIPS32::C_un_d>;
1128 using InstMIPS32C_un_s = InstMIPS32FPCmp<InstMIPS32::C_un_s>; 1129 using InstMIPS32C_un_s = InstMIPS32FPCmp<InstMIPS32::C_un_s>;
1130 using InstMIPS32Clz = InstMIPS32TwoAddrGPR<InstMIPS32::Clz>;
1129 using InstMIPS32Cvt_d_s = InstMIPS32TwoAddrFPR<InstMIPS32::Cvt_d_s>; 1131 using InstMIPS32Cvt_d_s = InstMIPS32TwoAddrFPR<InstMIPS32::Cvt_d_s>;
1130 using InstMIPS32Cvt_d_l = InstMIPS32TwoAddrFPR<InstMIPS32::Cvt_d_l>; 1132 using InstMIPS32Cvt_d_l = InstMIPS32TwoAddrFPR<InstMIPS32::Cvt_d_l>;
1131 using InstMIPS32Cvt_d_w = InstMIPS32TwoAddrFPR<InstMIPS32::Cvt_d_w>; 1133 using InstMIPS32Cvt_d_w = InstMIPS32TwoAddrFPR<InstMIPS32::Cvt_d_w>;
1132 using InstMIPS32Cvt_s_d = InstMIPS32TwoAddrFPR<InstMIPS32::Cvt_s_d>; 1134 using InstMIPS32Cvt_s_d = InstMIPS32TwoAddrFPR<InstMIPS32::Cvt_s_d>;
1133 using InstMIPS32Cvt_s_l = InstMIPS32TwoAddrFPR<InstMIPS32::Cvt_s_l>; 1135 using InstMIPS32Cvt_s_l = InstMIPS32TwoAddrFPR<InstMIPS32::Cvt_s_l>;
1134 using InstMIPS32Cvt_s_w = InstMIPS32TwoAddrFPR<InstMIPS32::Cvt_s_w>; 1136 using InstMIPS32Cvt_s_w = InstMIPS32TwoAddrFPR<InstMIPS32::Cvt_s_w>;
1135 using InstMIPS32Div = InstMIPS32ThreeAddrGPR<InstMIPS32::Div>; 1137 using InstMIPS32Div = InstMIPS32ThreeAddrGPR<InstMIPS32::Div>;
1136 using InstMIPS32Div_d = InstMIPS32ThreeAddrFPR<InstMIPS32::Div_d>; 1138 using InstMIPS32Div_d = InstMIPS32ThreeAddrFPR<InstMIPS32::Div_d>;
1137 using InstMIPS32Div_s = InstMIPS32ThreeAddrFPR<InstMIPS32::Div_s>; 1139 using InstMIPS32Div_s = InstMIPS32ThreeAddrFPR<InstMIPS32::Div_s>;
1138 using InstMIPS32Divu = InstMIPS32ThreeAddrGPR<InstMIPS32::Divu>; 1140 using InstMIPS32Divu = InstMIPS32ThreeAddrGPR<InstMIPS32::Divu>;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
1251 template <> void InstMIPS32C_olt_d::emitIAS(const Cfg *Func) const; 1253 template <> void InstMIPS32C_olt_d::emitIAS(const Cfg *Func) const;
1252 template <> void InstMIPS32C_olt_s::emitIAS(const Cfg *Func) const; 1254 template <> void InstMIPS32C_olt_s::emitIAS(const Cfg *Func) const;
1253 template <> void InstMIPS32C_ueq_d::emitIAS(const Cfg *Func) const; 1255 template <> void InstMIPS32C_ueq_d::emitIAS(const Cfg *Func) const;
1254 template <> void InstMIPS32C_ueq_s::emitIAS(const Cfg *Func) const; 1256 template <> void InstMIPS32C_ueq_s::emitIAS(const Cfg *Func) const;
1255 template <> void InstMIPS32C_ule_d::emitIAS(const Cfg *Func) const; 1257 template <> void InstMIPS32C_ule_d::emitIAS(const Cfg *Func) const;
1256 template <> void InstMIPS32C_ule_s::emitIAS(const Cfg *Func) const; 1258 template <> void InstMIPS32C_ule_s::emitIAS(const Cfg *Func) const;
1257 template <> void InstMIPS32C_ult_d::emitIAS(const Cfg *Func) const; 1259 template <> void InstMIPS32C_ult_d::emitIAS(const Cfg *Func) const;
1258 template <> void InstMIPS32C_ult_s::emitIAS(const Cfg *Func) const; 1260 template <> void InstMIPS32C_ult_s::emitIAS(const Cfg *Func) const;
1259 template <> void InstMIPS32C_un_d::emitIAS(const Cfg *Func) const; 1261 template <> void InstMIPS32C_un_d::emitIAS(const Cfg *Func) const;
1260 template <> void InstMIPS32C_un_s::emitIAS(const Cfg *Func) const; 1262 template <> void InstMIPS32C_un_s::emitIAS(const Cfg *Func) const;
1263 template <> void InstMIPS32Clz::emitIAS(const Cfg *Func) const;
1261 template <> void InstMIPS32Cvt_d_l::emitIAS(const Cfg *Func) const; 1264 template <> void InstMIPS32Cvt_d_l::emitIAS(const Cfg *Func) const;
1262 template <> void InstMIPS32Cvt_d_s::emitIAS(const Cfg *Func) const; 1265 template <> void InstMIPS32Cvt_d_s::emitIAS(const Cfg *Func) const;
1263 template <> void InstMIPS32Cvt_d_w::emitIAS(const Cfg *Func) const; 1266 template <> void InstMIPS32Cvt_d_w::emitIAS(const Cfg *Func) const;
1264 template <> void InstMIPS32Cvt_s_d::emitIAS(const Cfg *Func) const; 1267 template <> void InstMIPS32Cvt_s_d::emitIAS(const Cfg *Func) const;
1265 template <> void InstMIPS32Cvt_s_l::emitIAS(const Cfg *Func) const; 1268 template <> void InstMIPS32Cvt_s_l::emitIAS(const Cfg *Func) const;
1266 template <> void InstMIPS32Cvt_s_w::emitIAS(const Cfg *Func) const; 1269 template <> void InstMIPS32Cvt_s_w::emitIAS(const Cfg *Func) const;
1267 template <> void InstMIPS32Div_d::emitIAS(const Cfg *Func) const; 1270 template <> void InstMIPS32Div_d::emitIAS(const Cfg *Func) const;
1268 template <> void InstMIPS32Div_s::emitIAS(const Cfg *Func) const; 1271 template <> void InstMIPS32Div_s::emitIAS(const Cfg *Func) const;
1269 template <> void InstMIPS32Lui::emit(const Cfg *Func) const; 1272 template <> void InstMIPS32Lui::emit(const Cfg *Func) const;
1270 template <> void InstMIPS32Lw::emitIAS(const Cfg *Func) const; 1273 template <> void InstMIPS32Lw::emitIAS(const Cfg *Func) const;
1271 template <> void InstMIPS32Mfc1::emit(const Cfg *Func) const; 1274 template <> void InstMIPS32Mfc1::emit(const Cfg *Func) const;
1272 template <> void InstMIPS32Mflo::emit(const Cfg *Func) const; 1275 template <> void InstMIPS32Mflo::emit(const Cfg *Func) const;
1273 template <> void InstMIPS32Mfhi::emit(const Cfg *Func) const; 1276 template <> void InstMIPS32Mfhi::emit(const Cfg *Func) const;
1274 template <> void InstMIPS32Mov_d::emitIAS(const Cfg *Func) const; 1277 template <> void InstMIPS32Mov_d::emitIAS(const Cfg *Func) const;
1275 template <> void InstMIPS32Mov_s::emitIAS(const Cfg *Func) const; 1278 template <> void InstMIPS32Mov_s::emitIAS(const Cfg *Func) const;
1276 template <> void InstMIPS32Movf::emitIAS(const Cfg *Func) const; 1279 template <> void InstMIPS32Movf::emitIAS(const Cfg *Func) const;
1280 template <> void InstMIPS32Movn::emitIAS(const Cfg *Func) const;
1277 template <> void InstMIPS32Movn_d::emitIAS(const Cfg *Func) const; 1281 template <> void InstMIPS32Movn_d::emitIAS(const Cfg *Func) const;
1278 template <> void InstMIPS32Movn_s::emitIAS(const Cfg *Func) const; 1282 template <> void InstMIPS32Movn_s::emitIAS(const Cfg *Func) const;
1279 template <> void InstMIPS32Movt::emitIAS(const Cfg *Func) const; 1283 template <> void InstMIPS32Movt::emitIAS(const Cfg *Func) const;
1280 template <> void InstMIPS32Movz_d::emitIAS(const Cfg *Func) const; 1284 template <> void InstMIPS32Movz_d::emitIAS(const Cfg *Func) const;
1281 template <> void InstMIPS32Movz_s::emitIAS(const Cfg *Func) const; 1285 template <> void InstMIPS32Movz_s::emitIAS(const Cfg *Func) const;
1282 template <> void InstMIPS32Mtc1::emit(const Cfg *Func) const; 1286 template <> void InstMIPS32Mtc1::emit(const Cfg *Func) const;
1283 template <> void InstMIPS32Mtlo::emit(const Cfg *Func) const; 1287 template <> void InstMIPS32Mtlo::emit(const Cfg *Func) const;
1284 template <> void InstMIPS32Mthi::emit(const Cfg *Func) const; 1288 template <> void InstMIPS32Mthi::emit(const Cfg *Func) const;
1285 template <> void InstMIPS32Mul_d::emitIAS(const Cfg *Func) const; 1289 template <> void InstMIPS32Mul_d::emitIAS(const Cfg *Func) const;
1286 template <> void InstMIPS32Mul_s::emitIAS(const Cfg *Func) const; 1290 template <> void InstMIPS32Mul_s::emitIAS(const Cfg *Func) const;
(...skipping 19 matching lines...) Expand all
1306 template <> void InstMIPS32Trunc_l_s::emitIAS(const Cfg *Func) const; 1310 template <> void InstMIPS32Trunc_l_s::emitIAS(const Cfg *Func) const;
1307 template <> void InstMIPS32Trunc_w_d::emitIAS(const Cfg *Func) const; 1311 template <> void InstMIPS32Trunc_w_d::emitIAS(const Cfg *Func) const;
1308 template <> void InstMIPS32Trunc_w_s::emitIAS(const Cfg *Func) const; 1312 template <> void InstMIPS32Trunc_w_s::emitIAS(const Cfg *Func) const;
1309 template <> void InstMIPS32Xor::emitIAS(const Cfg *Func) const; 1313 template <> void InstMIPS32Xor::emitIAS(const Cfg *Func) const;
1310 template <> void InstMIPS32Xori::emitIAS(const Cfg *Func) const; 1314 template <> void InstMIPS32Xori::emitIAS(const Cfg *Func) const;
1311 1315
1312 } // end of namespace MIPS32 1316 } // end of namespace MIPS32
1313 } // end of namespace Ice 1317 } // end of namespace Ice
1314 1318
1315 #endif // SUBZERO_SRC_ICEINSTMIPS32_H 1319 #endif // SUBZERO_SRC_ICEINSTMIPS32_H
OLDNEW
« no previous file with comments | « src/IceAssemblerMIPS32.cpp ('k') | src/IceInstMIPS32.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698