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

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

Issue 1552483002: MIPS: [turbofan] Improve matching for And(Shr(x, imm), mask). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove wrong matching. Created 4 years, 11 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 | « src/mips64/assembler-mips64.cc ('k') | src/mips64/macro-assembler-mips64.h » ('j') | 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 1179 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « src/mips64/assembler-mips64.cc ('k') | src/mips64/macro-assembler-mips64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698