OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_MIPS_CONSTANTS_H_ | 5 #ifndef V8_MIPS_CONSTANTS_H_ |
6 #define V8_MIPS_CONSTANTS_H_ | 6 #define V8_MIPS_CONSTANTS_H_ |
7 | 7 |
8 #include "src/base/logging.h" | 8 #include "src/base/logging.h" |
9 #include "src/base/macros.h" | 9 #include "src/base/macros.h" |
10 #include "src/globals.h" | 10 #include "src/globals.h" |
(...skipping 1179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1190 return kRegisterType; | 1190 return kRegisterType; |
1191 default: | 1191 default: |
1192 return kUnsupported; | 1192 return kUnsupported; |
1193 } | 1193 } |
1194 break; | 1194 break; |
1195 case SPECIAL3: | 1195 case SPECIAL3: |
1196 switch (FunctionFieldRaw()) { | 1196 switch (FunctionFieldRaw()) { |
1197 case INS: | 1197 case INS: |
1198 case EXT: | 1198 case EXT: |
1199 case DEXT: | 1199 case DEXT: |
| 1200 case DEXTM: |
| 1201 case DEXTU: |
1200 return kRegisterType; | 1202 return kRegisterType; |
1201 case BSHFL: { | 1203 case BSHFL: { |
1202 int sa = SaFieldRaw() >> kSaShift; | 1204 int sa = SaFieldRaw() >> kSaShift; |
1203 switch (sa) { | 1205 switch (sa) { |
1204 case BITSWAP: | 1206 case BITSWAP: |
1205 return kRegisterType; | 1207 return kRegisterType; |
1206 case WSBH: | 1208 case WSBH: |
1207 case SEB: | 1209 case SEB: |
1208 case SEH: | 1210 case SEH: |
1209 return kUnsupported; | 1211 return kUnsupported; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1265 } | 1267 } |
1266 return kUnsupported; | 1268 return kUnsupported; |
1267 } | 1269 } |
1268 | 1270 |
1269 #undef OpcodeToBitNumber | 1271 #undef OpcodeToBitNumber |
1270 #undef FunctionFieldToBitNumber | 1272 #undef FunctionFieldToBitNumber |
1271 } // namespace internal | 1273 } // namespace internal |
1272 } // namespace v8 | 1274 } // namespace v8 |
1273 | 1275 |
1274 #endif // #ifndef V8_MIPS_CONSTANTS_H_ | 1276 #endif // #ifndef V8_MIPS_CONSTANTS_H_ |
OLD | NEW |