| 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/base/lazy-instance.h" | 6 #include "src/base/lazy-instance.h" |
| 7 #include "src/macro-assembler.h" | 7 #include "src/macro-assembler.h" |
| 8 #include "src/register-configuration.h" | 8 #include "src/register-configuration.h" |
| 9 | 9 |
| 10 #include "src/wasm/wasm-module.h" | 10 #include "src/wasm/wasm-module.h" |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 #define GP_PARAM_REGISTERS r3, r4, r5, r6, r7, r8, r9, r10 | 124 #define GP_PARAM_REGISTERS r3, r4, r5, r6, r7, r8, r9, r10 |
| 125 #define GP_RETURN_REGISTERS r3, r4 | 125 #define GP_RETURN_REGISTERS r3, r4 |
| 126 #define FP_PARAM_REGISTERS d1, d2, d3, d4, d5, d6, d7, d8 | 126 #define FP_PARAM_REGISTERS d1, d2, d3, d4, d5, d6, d7, d8 |
| 127 #define FP_RETURN_REGISTERS d1, d2 | 127 #define FP_RETURN_REGISTERS d1, d2 |
| 128 | 128 |
| 129 #elif V8_TARGET_ARCH_S390X | 129 #elif V8_TARGET_ARCH_S390X |
| 130 // =========================================================================== | 130 // =========================================================================== |
| 131 // == s390x ================================================================== | 131 // == s390x ================================================================== |
| 132 // =========================================================================== | 132 // =========================================================================== |
| 133 #define GP_PARAM_REGISTERS r2, r3, r4, r5, r6 | 133 #define GP_PARAM_REGISTERS r2, r3, r4, r5, r6 |
| 134 #define GP_RETURN_REGISTERS r2 | 134 #define GP_RETURN_REGISTERS r2, r3 |
| 135 #define FP_PARAM_REGISTERS d0, d2, d4, d6 | 135 #define FP_PARAM_REGISTERS d0, d2, d4, d6 |
| 136 #define FP_RETURN_REGISTERS d0, d2, d4, d6 | 136 #define FP_RETURN_REGISTERS d0, d2, d4, d6 |
| 137 | 137 |
| 138 #elif V8_TARGET_ARCH_S390 | 138 #elif V8_TARGET_ARCH_S390 |
| 139 // =========================================================================== | 139 // =========================================================================== |
| 140 // == s390 =================================================================== | 140 // == s390 =================================================================== |
| 141 // =========================================================================== | 141 // =========================================================================== |
| 142 #define GP_PARAM_REGISTERS r2, r3, r4, r5, r6 | 142 #define GP_PARAM_REGISTERS r2, r3, r4, r5, r6 |
| 143 #define GP_RETURN_REGISTERS r2, r3 | 143 #define GP_RETURN_REGISTERS r2, r3 |
| 144 #define FP_PARAM_REGISTERS d0, d2 | 144 #define FP_PARAM_REGISTERS d0, d2 |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 descriptor->CalleeSavedFPRegisters(), // callee-saved fp regs | 369 descriptor->CalleeSavedFPRegisters(), // callee-saved fp regs |
| 370 descriptor->flags(), // flags | 370 descriptor->flags(), // flags |
| 371 descriptor->debug_name()); | 371 descriptor->debug_name()); |
| 372 | 372 |
| 373 return descriptor; | 373 return descriptor; |
| 374 } | 374 } |
| 375 | 375 |
| 376 } // namespace wasm | 376 } // namespace wasm |
| 377 } // namespace internal | 377 } // namespace internal |
| 378 } // namespace v8 | 378 } // namespace v8 |
| OLD | NEW |