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

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

Issue 766273004: Version 3.29.88.18 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@3.29
Patch Set: Created 6 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/base/cpu.cc ('k') | src/version.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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 #else 98 #else
99 #define IsFp64Mode() \ 99 #define IsFp64Mode() \
100 (CpuFeatures::IsSupported(FP64FPU)) 100 (CpuFeatures::IsSupported(FP64FPU))
101 #endif 101 #endif
102 102
103 #ifndef _MIPS_ARCH_MIPS32RX 103 #ifndef _MIPS_ARCH_MIPS32RX
104 #define IsMipsArchVariant(check) \ 104 #define IsMipsArchVariant(check) \
105 (kArchVariant == check) 105 (kArchVariant == check)
106 #else 106 #else
107 #define IsMipsArchVariant(check) \ 107 #define IsMipsArchVariant(check) \
108 (CpuFeatures::IsSupported(check)) 108 (CpuFeatures::IsSupported(static_cast<CpuFeature>(check)))
109 #endif 109 #endif
110 110
111 111
112 #define __STDC_FORMAT_MACROS 112 #define __STDC_FORMAT_MACROS
113 #include <inttypes.h> 113 #include <inttypes.h>
114 114
115 // Defines constants and accessor classes to assemble, disassemble and 115 // Defines constants and accessor classes to assemble, disassemble and
116 // simulate MIPS32 instructions. 116 // simulate MIPS32 instructions.
117 // 117 //
118 // See: MIPS32 Architecture For Programmers 118 // See: MIPS32 Architecture For Programmers
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 // JS argument slots size. 930 // JS argument slots size.
931 const int kJSArgsSlotsSize = 0 * Instruction::kInstrSize; 931 const int kJSArgsSlotsSize = 0 * Instruction::kInstrSize;
932 // Assembly builtins argument slots size. 932 // Assembly builtins argument slots size.
933 const int kBArgsSlotsSize = 0 * Instruction::kInstrSize; 933 const int kBArgsSlotsSize = 0 * Instruction::kInstrSize;
934 934
935 const int kBranchReturnOffset = 2 * Instruction::kInstrSize; 935 const int kBranchReturnOffset = 2 * Instruction::kInstrSize;
936 936
937 } } // namespace v8::internal 937 } } // namespace v8::internal
938 938
939 #endif // #ifndef V8_MIPS_CONSTANTS_H_ 939 #endif // #ifndef V8_MIPS_CONSTANTS_H_
OLDNEW
« no previous file with comments | « src/base/cpu.cc ('k') | src/version.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698