OLD | NEW |
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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 #elif V8_TARGET_ARCH_PPC || V8_TARGET_ARCH_PPC64 | 131 #elif V8_TARGET_ARCH_PPC || V8_TARGET_ARCH_PPC64 |
132 // =========================================================================== | 132 // =========================================================================== |
133 // == ppc & ppc64 ============================================================ | 133 // == ppc & ppc64 ============================================================ |
134 // =========================================================================== | 134 // =========================================================================== |
135 #define PARAM_REGISTERS r3, r4, r5, r6, r7, r8, r9, r10 | 135 #define PARAM_REGISTERS r3, r4, r5, r6, r7, r8, r9, r10 |
136 #define RETURN_REGISTER_0 r3 | 136 #define RETURN_REGISTER_0 r3 |
137 #define RETURN_REGISTER_1 r4 | 137 #define RETURN_REGISTER_1 r4 |
138 #define CALLEE_SAVE_REGISTERS \ | 138 #define CALLEE_SAVE_REGISTERS \ |
139 r14.bit() | r15.bit() | r16.bit() | r17.bit() | r18.bit() | r19.bit() | \ | 139 r14.bit() | r15.bit() | r16.bit() | r17.bit() | r18.bit() | r19.bit() | \ |
140 r20.bit() | r21.bit() | r22.bit() | r23.bit() | r24.bit() | r25.bit() | \ | 140 r20.bit() | r21.bit() | r22.bit() | r23.bit() | r24.bit() | r25.bit() | \ |
141 r26.bit() | r27.bit() | r28.bit() | r29.bit() | r30.bit() | fp.bit() | 141 r26.bit() | r27.bit() | r28.bit() | r29.bit() | r30.bit() |
| 142 #define CALLEE_SAVE_FP_REGISTERS \ |
| 143 d14.bit() | d15.bit() | d16.bit() | d17.bit() | d18.bit() | d19.bit() | \ |
| 144 d20.bit() | d21.bit() | d22.bit() | d23.bit() | d24.bit() | d25.bit() | \ |
| 145 d26.bit() | d27.bit() | d28.bit() | d29.bit() | d30.bit() | d31.bit() |
142 | 146 |
143 #else | 147 #else |
144 // =========================================================================== | 148 // =========================================================================== |
145 // == unknown ================================================================ | 149 // == unknown ================================================================ |
146 // =========================================================================== | 150 // =========================================================================== |
147 // Don't define anything. The below code will dynamically fail. | 151 // Don't define anything. The below code will dynamically fail. |
148 #endif | 152 #endif |
149 } // namespace | 153 } // namespace |
150 | 154 |
151 | 155 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 0, // stack_parameter_count | 240 0, // stack_parameter_count |
237 Operator::kNoProperties, // properties | 241 Operator::kNoProperties, // properties |
238 kCalleeSaveRegisters, // callee-saved registers | 242 kCalleeSaveRegisters, // callee-saved registers |
239 kCalleeSaveFPRegisters, // callee-saved fp regs | 243 kCalleeSaveFPRegisters, // callee-saved fp regs |
240 CallDescriptor::kNoFlags, // flags | 244 CallDescriptor::kNoFlags, // flags |
241 "c-call"); | 245 "c-call"); |
242 } | 246 } |
243 } | 247 } |
244 } | 248 } |
245 } | 249 } |
OLD | NEW |