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

Side by Side Diff: src/IceAssemblerMIPS32.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 | « no previous file | src/IceAssemblerMIPS32.cpp » ('j') | src/IceTargetLoweringMIPS32.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceAssemblerMIPS32.h - Assembler for MIPS ----*- C++ -*-===// 1 //===- subzero/src/IceAssemblerMIPS32.h - Assembler for MIPS ----*- 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 void c_ule_s(const Operand *OpFd, const Operand *OpFs); 133 void c_ule_s(const Operand *OpFd, const Operand *OpFs);
134 134
135 void c_ult_d(const Operand *OpFd, const Operand *OpFs); 135 void c_ult_d(const Operand *OpFd, const Operand *OpFs);
136 136
137 void c_ult_s(const Operand *OpFd, const Operand *OpFs); 137 void c_ult_s(const Operand *OpFd, const Operand *OpFs);
138 138
139 void c_un_d(const Operand *OpFd, const Operand *OpFs); 139 void c_un_d(const Operand *OpFd, const Operand *OpFs);
140 140
141 void c_un_s(const Operand *OpFd, const Operand *OpFs); 141 void c_un_s(const Operand *OpFd, const Operand *OpFs);
142 142
143 void clz(const Operand *OpRd, const Operand *OpRs);
144
143 void cvt_d_l(const Operand *OpFd, const Operand *OpFs); 145 void cvt_d_l(const Operand *OpFd, const Operand *OpFs);
144 146
145 void cvt_d_s(const Operand *OpFd, const Operand *OpFs); 147 void cvt_d_s(const Operand *OpFd, const Operand *OpFs);
146 148
147 void cvt_d_w(const Operand *OpFd, const Operand *OpFs); 149 void cvt_d_w(const Operand *OpFd, const Operand *OpFs);
148 150
149 void cvt_s_d(const Operand *OpFd, const Operand *OpFs); 151 void cvt_s_d(const Operand *OpFd, const Operand *OpFs);
150 152
151 void cvt_s_l(const Operand *OpFd, const Operand *OpFs); 153 void cvt_s_l(const Operand *OpFd, const Operand *OpFs);
152 154
153 void cvt_s_w(const Operand *OpFd, const Operand *OpFs); 155 void cvt_s_w(const Operand *OpFd, const Operand *OpFs);
154 156
155 void div_d(const Operand *OpFd, const Operand *OpFs, const Operand *OpFt); 157 void div_d(const Operand *OpFd, const Operand *OpFs, const Operand *OpFt);
156 158
157 void div_s(const Operand *OpFd, const Operand *OpFs, const Operand *OpFt); 159 void div_s(const Operand *OpFd, const Operand *OpFs, const Operand *OpFt);
158 160
159 void lw(const Operand *OpRt, const Operand *OpBase, const uint32_t Offset); 161 void lw(const Operand *OpRt, const Operand *OpBase, const uint32_t Offset);
160 162
161 void mfc1(const Operand *OpRt, const Operand *OpFs); 163 void mfc1(const Operand *OpRt, const Operand *OpFs);
162 164
163 void mov_d(const Operand *OpFd, const Operand *OpFs); 165 void mov_d(const Operand *OpFd, const Operand *OpFs);
164 166
165 void mov_s(const Operand *OpFd, const Operand *OpFs); 167 void mov_s(const Operand *OpFd, const Operand *OpFs);
166 168
167 void move(const Operand *OpRd, const Operand *OpRs); 169 void move(const Operand *OpRd, const Operand *OpRs);
168 170
169 void movf(const Operand *OpRd, const Operand *OpRs, const Operand *OpCc); 171 void movf(const Operand *OpRd, const Operand *OpRs, const Operand *OpCc);
170 172
173 void movn(const Operand *OpRd, const Operand *OpRs, const Operand *OpRt);
174
171 void movn_d(const Operand *OpFd, const Operand *OpFs, const Operand *OpFt); 175 void movn_d(const Operand *OpFd, const Operand *OpFs, const Operand *OpFt);
172 176
173 void movn_s(const Operand *OpFd, const Operand *OpFs, const Operand *OpFt); 177 void movn_s(const Operand *OpFd, const Operand *OpFs, const Operand *OpFt);
174 178
175 void movt(const Operand *OpRd, const Operand *OpRs, const Operand *OpCc); 179 void movt(const Operand *OpRd, const Operand *OpRs, const Operand *OpCc);
176 180
177 void movz_d(const Operand *OpFd, const Operand *OpFs, const Operand *OpFt); 181 void movz_d(const Operand *OpFd, const Operand *OpFs, const Operand *OpFt);
178 182
179 void movz_s(const Operand *OpFd, const Operand *OpFs, const Operand *OpFt); 183 void movz_s(const Operand *OpFd, const Operand *OpFs, const Operand *OpFt);
180 184
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 void emitInst(IValueT Value) { 300 void emitInst(IValueT Value) {
297 AssemblerBuffer::EnsureCapacity _(&Buffer); 301 AssemblerBuffer::EnsureCapacity _(&Buffer);
298 Buffer.emit<IValueT>(Value); 302 Buffer.emit<IValueT>(Value);
299 } 303 }
300 }; 304 };
301 305
302 } // end of namespace MIPS32 306 } // end of namespace MIPS32
303 } // end of namespace Ice 307 } // end of namespace Ice
304 308
305 #endif // SUBZERO_SRC_ICEASSEMBLERMIPS32_H 309 #endif // SUBZERO_SRC_ICEASSEMBLERMIPS32_H
OLDNEW
« no previous file with comments | « no previous file | src/IceAssemblerMIPS32.cpp » ('j') | src/IceTargetLoweringMIPS32.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698