| OLD | NEW |
| 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_MACRO_ASSEMBLER_MIPS_H_ | 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/globals.h" | 9 #include "src/globals.h" |
| 10 #include "src/mips64/assembler-mips64.h" | 10 #include "src/mips64/assembler-mips64.h" |
| (...skipping 1684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1695 int num_double_arguments); | 1695 int num_double_arguments); |
| 1696 | 1696 |
| 1697 void BranchAndLinkShort(int16_t offset, BranchDelaySlot bdslot = PROTECT); | 1697 void BranchAndLinkShort(int16_t offset, BranchDelaySlot bdslot = PROTECT); |
| 1698 void BranchAndLinkShort(int16_t offset, Condition cond, Register rs, | 1698 void BranchAndLinkShort(int16_t offset, Condition cond, Register rs, |
| 1699 const Operand& rt, | 1699 const Operand& rt, |
| 1700 BranchDelaySlot bdslot = PROTECT); | 1700 BranchDelaySlot bdslot = PROTECT); |
| 1701 void BranchAndLinkShort(Label* L, BranchDelaySlot bdslot = PROTECT); | 1701 void BranchAndLinkShort(Label* L, BranchDelaySlot bdslot = PROTECT); |
| 1702 void BranchAndLinkShort(Label* L, Condition cond, Register rs, | 1702 void BranchAndLinkShort(Label* L, Condition cond, Register rs, |
| 1703 const Operand& rt, | 1703 const Operand& rt, |
| 1704 BranchDelaySlot bdslot = PROTECT); | 1704 BranchDelaySlot bdslot = PROTECT); |
| 1705 void J(Label* L, BranchDelaySlot bdslot); |
| 1706 void Jal(Label* L, BranchDelaySlot bdslot); |
| 1705 void Jr(Label* L, BranchDelaySlot bdslot); | 1707 void Jr(Label* L, BranchDelaySlot bdslot); |
| 1706 void Jalr(Label* L, BranchDelaySlot bdslot); | 1708 void Jalr(Label* L, BranchDelaySlot bdslot); |
| 1707 | 1709 |
| 1708 // Common implementation of BranchF functions for the different formats. | 1710 // Common implementation of BranchF functions for the different formats. |
| 1709 void BranchFCommon(SecondaryField sizeField, Label* target, Label* nan, | 1711 void BranchFCommon(SecondaryField sizeField, Label* target, Label* nan, |
| 1710 Condition cc, FPURegister cmp1, FPURegister cmp2, | 1712 Condition cc, FPURegister cmp1, FPURegister cmp2, |
| 1711 BranchDelaySlot bd = PROTECT); | 1713 BranchDelaySlot bd = PROTECT); |
| 1712 | 1714 |
| 1713 void BranchShortF(SecondaryField sizeField, Label* target, Condition cc, | 1715 void BranchShortF(SecondaryField sizeField, Label* target, Condition cc, |
| 1714 FPURegister cmp1, FPURegister cmp2, | 1716 FPURegister cmp1, FPURegister cmp2, |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1809 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1811 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 1810 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1812 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1811 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1813 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1812 #else | 1814 #else |
| 1813 #define ACCESS_MASM(masm) masm-> | 1815 #define ACCESS_MASM(masm) masm-> |
| 1814 #endif | 1816 #endif |
| 1815 | 1817 |
| 1816 } } // namespace v8::internal | 1818 } } // namespace v8::internal |
| 1817 | 1819 |
| 1818 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1820 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |