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 Jr(Label* L, BranchDelaySlot bdslot); | 1705 void Jr(Label* L, BranchDelaySlot bdslot); |
1707 void Jalr(Label* L, BranchDelaySlot bdslot); | 1706 void Jalr(Label* L, BranchDelaySlot bdslot); |
1708 | 1707 |
1709 // Common implementation of BranchF functions for the different formats. | 1708 // Common implementation of BranchF functions for the different formats. |
1710 void BranchFCommon(SecondaryField sizeField, Label* target, Label* nan, | 1709 void BranchFCommon(SecondaryField sizeField, Label* target, Label* nan, |
1711 Condition cc, FPURegister cmp1, FPURegister cmp2, | 1710 Condition cc, FPURegister cmp1, FPURegister cmp2, |
1712 BranchDelaySlot bd = PROTECT); | 1711 BranchDelaySlot bd = PROTECT); |
1713 | 1712 |
1714 // Helper functions for generating invokes. | 1713 // Helper functions for generating invokes. |
1715 void InvokePrologue(const ParameterCount& expected, | 1714 void InvokePrologue(const ParameterCount& expected, |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1805 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1804 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1806 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1805 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1807 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1806 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1808 #else | 1807 #else |
1809 #define ACCESS_MASM(masm) masm-> | 1808 #define ACCESS_MASM(masm) masm-> |
1810 #endif | 1809 #endif |
1811 | 1810 |
1812 } } // namespace v8::internal | 1811 } } // namespace v8::internal |
1813 | 1812 |
1814 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1813 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |