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

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

Issue 1481493002: (mips) adding simulator support for AUI/DAUI/DAHI/DATI instructions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix mips64 compilation error. Created 5 years 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/disasm-mips64.cc » ('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 909 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 OpcodeToBitNumber(BNEL) | OpcodeToBitNumber(BLEZL) | 920 OpcodeToBitNumber(BNEL) | OpcodeToBitNumber(BLEZL) |
921 OpcodeToBitNumber(BGTZL) | OpcodeToBitNumber(POP66) | 921 OpcodeToBitNumber(BGTZL) | OpcodeToBitNumber(POP66) |
922 OpcodeToBitNumber(POP76) | OpcodeToBitNumber(LB) | OpcodeToBitNumber(LH) | 922 OpcodeToBitNumber(POP76) | OpcodeToBitNumber(LB) | OpcodeToBitNumber(LH) |
923 OpcodeToBitNumber(LWL) | OpcodeToBitNumber(LW) | OpcodeToBitNumber(LWU) | 923 OpcodeToBitNumber(LWL) | OpcodeToBitNumber(LW) | OpcodeToBitNumber(LWU) |
924 OpcodeToBitNumber(LD) | OpcodeToBitNumber(LBU) | OpcodeToBitNumber(LHU) | 924 OpcodeToBitNumber(LD) | OpcodeToBitNumber(LBU) | OpcodeToBitNumber(LHU) |
925 OpcodeToBitNumber(LWR) | OpcodeToBitNumber(SB) | OpcodeToBitNumber(SH) | 925 OpcodeToBitNumber(LWR) | OpcodeToBitNumber(SB) | OpcodeToBitNumber(SH) |
926 OpcodeToBitNumber(SWL) | OpcodeToBitNumber(SW) | OpcodeToBitNumber(SD) | 926 OpcodeToBitNumber(SWL) | OpcodeToBitNumber(SW) | OpcodeToBitNumber(SD) |
927 OpcodeToBitNumber(SWR) | OpcodeToBitNumber(LWC1) | 927 OpcodeToBitNumber(SWR) | OpcodeToBitNumber(LWC1) |
928 OpcodeToBitNumber(LDC1) | OpcodeToBitNumber(SWC1) | 928 OpcodeToBitNumber(LDC1) | OpcodeToBitNumber(SWC1) |
929 OpcodeToBitNumber(SDC1) | OpcodeToBitNumber(PCREL) | 929 OpcodeToBitNumber(SDC1) | OpcodeToBitNumber(PCREL) |
930 OpcodeToBitNumber(BC) | OpcodeToBitNumber(BALC); 930 OpcodeToBitNumber(DAUI) | OpcodeToBitNumber(BC) | OpcodeToBitNumber(BALC);
931 931
932 #define FunctionFieldToBitNumber(function) (1ULL << function) 932 #define FunctionFieldToBitNumber(function) (1ULL << function)
933 933
934 // On r6, DCLZ_R6 aliases to existing MFLO. 934 // On r6, DCLZ_R6 aliases to existing MFLO.
935 static const uint64_t kFunctionFieldRegisterTypeMask = 935 static const uint64_t kFunctionFieldRegisterTypeMask =
936 FunctionFieldToBitNumber(JR) | FunctionFieldToBitNumber(JALR) | 936 FunctionFieldToBitNumber(JR) | FunctionFieldToBitNumber(JALR) |
937 FunctionFieldToBitNumber(BREAK) | FunctionFieldToBitNumber(SLL) | 937 FunctionFieldToBitNumber(BREAK) | FunctionFieldToBitNumber(SLL) |
938 FunctionFieldToBitNumber(DSLL) | FunctionFieldToBitNumber(DSLL32) | 938 FunctionFieldToBitNumber(DSLL) | FunctionFieldToBitNumber(DSLL32) |
939 FunctionFieldToBitNumber(SRL) | FunctionFieldToBitNumber(DSRL) | 939 FunctionFieldToBitNumber(SRL) | FunctionFieldToBitNumber(DSRL) |
940 FunctionFieldToBitNumber(DSRL32) | FunctionFieldToBitNumber(SRA) | 940 FunctionFieldToBitNumber(DSRL32) | FunctionFieldToBitNumber(SRA) |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 } 1255 }
1256 return kUnsupported; 1256 return kUnsupported;
1257 } 1257 }
1258 1258
1259 #undef OpcodeToBitNumber 1259 #undef OpcodeToBitNumber
1260 #undef FunctionFieldToBitNumber 1260 #undef FunctionFieldToBitNumber
1261 } // namespace internal 1261 } // namespace internal
1262 } // namespace v8 1262 } // namespace v8
1263 1263
1264 #endif // #ifndef V8_MIPS_CONSTANTS_H_ 1264 #endif // #ifndef V8_MIPS_CONSTANTS_H_
OLDNEW
« no previous file with comments | « src/mips64/assembler-mips64.cc ('k') | src/mips64/disasm-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698