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

Side by Side Diff: src/compiler/c-linkage.cc

Issue 1730763002: MIPS: Fix c-linkage. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #include "src/assembler.h" 5 #include "src/assembler.h"
6 #include "src/macro-assembler.h" 6 #include "src/macro-assembler.h"
7 7
8 #include "src/compiler/linkage.h" 8 #include "src/compiler/linkage.h"
9 9
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 #define CALLEE_SAVE_FP_REGISTERS \ 84 #define CALLEE_SAVE_FP_REGISTERS \
85 (1 << d8.code()) | (1 << d9.code()) | (1 << d10.code()) | \ 85 (1 << d8.code()) | (1 << d9.code()) | (1 << d10.code()) | \
86 (1 << d11.code()) | (1 << d12.code()) | (1 << d13.code()) | \ 86 (1 << d11.code()) | (1 << d12.code()) | (1 << d13.code()) | \
87 (1 << d14.code()) | (1 << d15.code()) 87 (1 << d14.code()) | (1 << d15.code())
88 88
89 #elif V8_TARGET_ARCH_MIPS 89 #elif V8_TARGET_ARCH_MIPS
90 // =========================================================================== 90 // ===========================================================================
91 // == mips =================================================================== 91 // == mips ===================================================================
92 // =========================================================================== 92 // ===========================================================================
93 #define STACK_SHADOW_WORDS 4
93 #define PARAM_REGISTERS a0, a1, a2, a3 94 #define PARAM_REGISTERS a0, a1, a2, a3
94 #define CALLEE_SAVE_REGISTERS \ 95 #define CALLEE_SAVE_REGISTERS \
95 s0.bit() | s1.bit() | s2.bit() | s3.bit() | s4.bit() | s5.bit() | s6.bit() | \ 96 s0.bit() | s1.bit() | s2.bit() | s3.bit() | s4.bit() | s5.bit() | s6.bit() | \
96 s7.bit() 97 s7.bit()
97 #define CALLEE_SAVE_FP_REGISTERS \ 98 #define CALLEE_SAVE_FP_REGISTERS \
98 f20.bit() | f22.bit() | f24.bit() | f26.bit() | f28.bit() | f30.bit() 99 f20.bit() | f22.bit() | f24.bit() | f26.bit() | f28.bit() | f30.bit()
99 100
100 #elif V8_TARGET_ARCH_MIPS64 101 #elif V8_TARGET_ARCH_MIPS64
101 // =========================================================================== 102 // ===========================================================================
102 // == mips64 ================================================================= 103 // == mips64 =================================================================
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 kCalleeSaveFPRegisters, // callee-saved fp regs 222 kCalleeSaveFPRegisters, // callee-saved fp regs
222 set_initialize_root_flag ? // flags 223 set_initialize_root_flag ? // flags
223 CallDescriptor::kInitializeRootRegister 224 CallDescriptor::kInitializeRootRegister
224 : CallDescriptor::kNoFlags, 225 : CallDescriptor::kNoFlags,
225 "c-call"); 226 "c-call");
226 } 227 }
227 228
228 } // namespace compiler 229 } // namespace compiler
229 } // namespace internal 230 } // namespace internal
230 } // namespace v8 231 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698