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

Side by Side Diff: src/IceRegistersARM32.h

Issue 1655313002: Subzero: ARM32: lowering of vector insert and extract. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Incorporating review feedback. Created 4 years, 10 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
OLDNEW
1 //===- subzero/src/IceRegistersARM32.h - Register information ---*- C++ -*-===// 1 //===- subzero/src/IceRegistersARM32.h - Register information ---*- 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 assert(isEncodedQReg(RegNum)); 212 assert(isEncodedQReg(RegNum));
213 return QRegister(RegTable[RegNum].Encoding); 213 return QRegister(RegTable[RegNum].Encoding);
214 } 214 }
215 215
216 static inline IceString getRegName(int32_t RegNum) { 216 static inline IceString getRegName(int32_t RegNum) {
217 assert(RegNum >= 0); 217 assert(RegNum >= 0);
218 assert(RegNum < Reg_NUM); 218 assert(RegNum < Reg_NUM);
219 return RegTable[RegNum].Name; 219 return RegTable[RegNum].Name;
220 } 220 }
221 221
222 // Extend enum RegClass with ARM32-specific register classes (if any). 222 // Extend enum RegClass with ARM32-specific register classes.
223 enum RegClassARM32 : uint8_t { RCARM32_NUM = RC_Target }; 223 enum RegClassARM32 : uint8_t {
224 RCARM32_QtoS = RC_Target, // Denotes Q registers that are aliased by S
225 // registers.
226 RCARM32_NUM
227 };
224 228
225 } // end of namespace RegARM32 229 } // end of namespace RegARM32
226 } // end of namespace ARM32 230 } // end of namespace ARM32
227 } // end of namespace Ice 231 } // end of namespace Ice
228 232
229 #endif // SUBZERO_SRC_ICEREGISTERSARM32_H 233 #endif // SUBZERO_SRC_ICEREGISTERSARM32_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698