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 #include "src/globals.h" | 7 #include "src/globals.h" |
8 // UNIMPLEMENTED_ macro for MIPS. | 8 // UNIMPLEMENTED_ macro for MIPS. |
9 #ifdef DEBUG | 9 #ifdef DEBUG |
10 #define UNIMPLEMENTED_MIPS() \ | 10 #define UNIMPLEMENTED_MIPS() \ |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 | 332 |
333 BEQC = ((2 << 3) + 0) << kOpcodeShift, | 333 BEQC = ((2 << 3) + 0) << kOpcodeShift, |
334 COP1 = ((2 << 3) + 1) << kOpcodeShift, // Coprocessor 1 class. | 334 COP1 = ((2 << 3) + 1) << kOpcodeShift, // Coprocessor 1 class. |
335 BEQL = ((2 << 3) + 4) << kOpcodeShift, | 335 BEQL = ((2 << 3) + 4) << kOpcodeShift, |
336 BNEL = ((2 << 3) + 5) << kOpcodeShift, | 336 BNEL = ((2 << 3) + 5) << kOpcodeShift, |
337 BLEZL = ((2 << 3) + 6) << kOpcodeShift, | 337 BLEZL = ((2 << 3) + 6) << kOpcodeShift, |
338 BGTZL = ((2 << 3) + 7) << kOpcodeShift, | 338 BGTZL = ((2 << 3) + 7) << kOpcodeShift, |
339 | 339 |
340 DADDI = ((3 << 3) + 0) << kOpcodeShift, // This is also BNEC. | 340 DADDI = ((3 << 3) + 0) << kOpcodeShift, // This is also BNEC. |
341 SPECIAL2 = ((3 << 3) + 4) << kOpcodeShift, | 341 SPECIAL2 = ((3 << 3) + 4) << kOpcodeShift, |
342 LABEL = ((3 << 3) + 5) << kOpcodeShift, | |
343 SPECIAL3 = ((3 << 3) + 7) << kOpcodeShift, | 342 SPECIAL3 = ((3 << 3) + 7) << kOpcodeShift, |
344 | 343 |
345 LB = ((4 << 3) + 0) << kOpcodeShift, | 344 LB = ((4 << 3) + 0) << kOpcodeShift, |
346 LH = ((4 << 3) + 1) << kOpcodeShift, | 345 LH = ((4 << 3) + 1) << kOpcodeShift, |
347 LWL = ((4 << 3) + 2) << kOpcodeShift, | 346 LWL = ((4 << 3) + 2) << kOpcodeShift, |
348 LW = ((4 << 3) + 3) << kOpcodeShift, | 347 LW = ((4 << 3) + 3) << kOpcodeShift, |
349 LBU = ((4 << 3) + 4) << kOpcodeShift, | 348 LBU = ((4 << 3) + 4) << kOpcodeShift, |
350 LHU = ((4 << 3) + 5) << kOpcodeShift, | 349 LHU = ((4 << 3) + 5) << kOpcodeShift, |
351 LWR = ((4 << 3) + 6) << kOpcodeShift, | 350 LWR = ((4 << 3) + 6) << kOpcodeShift, |
352 SB = ((5 << 3) + 0) << kOpcodeShift, | 351 SB = ((5 << 3) + 0) << kOpcodeShift, |
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
929 // JS argument slots size. | 928 // JS argument slots size. |
930 const int kJSArgsSlotsSize = 0 * Instruction::kInstrSize; | 929 const int kJSArgsSlotsSize = 0 * Instruction::kInstrSize; |
931 // Assembly builtins argument slots size. | 930 // Assembly builtins argument slots size. |
932 const int kBArgsSlotsSize = 0 * Instruction::kInstrSize; | 931 const int kBArgsSlotsSize = 0 * Instruction::kInstrSize; |
933 | 932 |
934 const int kBranchReturnOffset = 2 * Instruction::kInstrSize; | 933 const int kBranchReturnOffset = 2 * Instruction::kInstrSize; |
935 | 934 |
936 } } // namespace v8::internal | 935 } } // namespace v8::internal |
937 | 936 |
938 #endif // #ifndef V8_MIPS_CONSTANTS_H_ | 937 #endif // #ifndef V8_MIPS_CONSTANTS_H_ |
OLD | NEW |