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

Side by Side Diff: src/mips64/constants-mips64.h

Issue 1709633004: Fix a WASM compiler test failure (invalid instructions). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: revert the previous patchset and add DINS in simulator. 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after
1199 case CLZ: 1199 case CLZ:
1200 case DCLZ: 1200 case DCLZ:
1201 return kRegisterType; 1201 return kRegisterType;
1202 default: 1202 default:
1203 return kUnsupported; 1203 return kUnsupported;
1204 } 1204 }
1205 break; 1205 break;
1206 case SPECIAL3: 1206 case SPECIAL3:
1207 switch (FunctionFieldRaw()) { 1207 switch (FunctionFieldRaw()) {
1208 case INS: 1208 case INS:
1209 case DINS:
1209 case EXT: 1210 case EXT:
1210 case DEXT: 1211 case DEXT:
1211 case DEXTM: 1212 case DEXTM:
1212 case DEXTU: 1213 case DEXTU:
1213 return kRegisterType; 1214 return kRegisterType;
1214 case BSHFL: { 1215 case BSHFL: {
1215 int sa = SaFieldRaw() >> kSaShift; 1216 int sa = SaFieldRaw() >> kSaShift;
1216 switch (sa) { 1217 switch (sa) {
1217 case BITSWAP: 1218 case BITSWAP:
1218 return kRegisterType; 1219 return kRegisterType;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
1278 } 1279 }
1279 return kUnsupported; 1280 return kUnsupported;
1280 } 1281 }
1281 1282
1282 #undef OpcodeToBitNumber 1283 #undef OpcodeToBitNumber
1283 #undef FunctionFieldToBitNumber 1284 #undef FunctionFieldToBitNumber
1284 } // namespace internal 1285 } // namespace internal
1285 } // namespace v8 1286 } // namespace v8
1286 1287
1287 #endif // #ifndef V8_MIPS_CONSTANTS_H_ 1288 #endif // #ifndef V8_MIPS_CONSTANTS_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698