| OLD | NEW |
| 1 //===- subzero/src/IceRegistersX8632.h - Register information ---*- C++ -*-===// | 1 //===- subzero/src/IceRegistersX8632.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 |
| 11 /// This file declares the registers and their encodings for x86-32. | 11 /// \brief Declares the registers and their encodings for x86-32. |
| 12 /// | 12 /// |
| 13 //===----------------------------------------------------------------------===// | 13 //===----------------------------------------------------------------------===// |
| 14 | 14 |
| 15 #ifndef SUBZERO_SRC_ICEREGISTERSX8632_H | 15 #ifndef SUBZERO_SRC_ICEREGISTERSX8632_H |
| 16 #define SUBZERO_SRC_ICEREGISTERSX8632_H | 16 #define SUBZERO_SRC_ICEREGISTERSX8632_H |
| 17 | 17 |
| 18 #include "IceDefs.h" | 18 #include "IceDefs.h" |
| 19 #include "IceInstX8632.def" | 19 #include "IceInstX8632.def" |
| 20 #include "IceTypes.h" | 20 #include "IceTypes.h" |
| 21 | 21 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 static inline X87STRegister getEncodedSTReg(int32_t RegNum) { | 83 static inline X87STRegister getEncodedSTReg(int32_t RegNum) { |
| 84 assert(Encoded_X87ST_First <= RegNum); | 84 assert(Encoded_X87ST_First <= RegNum); |
| 85 assert(RegNum <= Encoded_X87ST_Last); | 85 assert(RegNum <= Encoded_X87ST_Last); |
| 86 return X87STRegister(RegNum); | 86 return X87STRegister(RegNum); |
| 87 } | 87 } |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 } // end of namespace Ice | 90 } // end of namespace Ice |
| 91 | 91 |
| 92 #endif // SUBZERO_SRC_ICEREGISTERSX8632_H | 92 #endif // SUBZERO_SRC_ICEREGISTERSX8632_H |
| OLD | NEW |