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

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

Issue 935593002: MIPS: reland Fix 'Assembler support for internal references.' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compilation problem with android toolchain. Created 5 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 | « src/mips/assembler-mips-inl.h ('k') | src/mips/macro-assembler-mips.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 #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
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
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_
OLDNEW
« no previous file with comments | « src/mips/assembler-mips-inl.h ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698