OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC_MACRO_ASSEMBLER_PPC_H_ | 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/frames.h" | 10 #include "src/frames.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 Register reg3 = no_reg, | 59 Register reg3 = no_reg, |
60 Register reg4 = no_reg, | 60 Register reg4 = no_reg, |
61 Register reg5 = no_reg, | 61 Register reg5 = no_reg, |
62 Register reg6 = no_reg); | 62 Register reg6 = no_reg); |
63 | 63 |
64 | 64 |
65 #ifdef DEBUG | 65 #ifdef DEBUG |
66 bool AreAliased(Register reg1, Register reg2, Register reg3 = no_reg, | 66 bool AreAliased(Register reg1, Register reg2, Register reg3 = no_reg, |
67 Register reg4 = no_reg, Register reg5 = no_reg, | 67 Register reg4 = no_reg, Register reg5 = no_reg, |
68 Register reg6 = no_reg, Register reg7 = no_reg, | 68 Register reg6 = no_reg, Register reg7 = no_reg, |
69 Register reg8 = no_reg); | 69 Register reg8 = no_reg, Register reg9 = no_reg, |
| 70 Register reg10 = no_reg); |
70 #endif | 71 #endif |
71 | 72 |
72 // These exist to provide portability between 32 and 64bit | 73 // These exist to provide portability between 32 and 64bit |
73 #if V8_TARGET_ARCH_PPC64 | 74 #if V8_TARGET_ARCH_PPC64 |
74 #define LoadPU ldu | 75 #define LoadPU ldu |
75 #define LoadPX ldx | 76 #define LoadPX ldx |
76 #define LoadPUX ldux | 77 #define LoadPUX ldux |
77 #define StorePU stdu | 78 #define StorePU stdu |
78 #define StorePX stdx | 79 #define StorePX stdx |
79 #define StorePUX stdux | 80 #define StorePUX stdux |
(...skipping 1504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1584 #define ACCESS_MASM(masm) \ | 1585 #define ACCESS_MASM(masm) \ |
1585 masm->stop(__FILE_LINE__); \ | 1586 masm->stop(__FILE_LINE__); \ |
1586 masm-> | 1587 masm-> |
1587 #else | 1588 #else |
1588 #define ACCESS_MASM(masm) masm-> | 1589 #define ACCESS_MASM(masm) masm-> |
1589 #endif | 1590 #endif |
1590 } // namespace internal | 1591 } // namespace internal |
1591 } // namespace v8 | 1592 } // namespace v8 |
1592 | 1593 |
1593 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 1594 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
OLD | NEW |