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/mips/assembler-mips.h" | 10 #include "src/mips/assembler-mips.h" |
(...skipping 1615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1626 int num_double_arguments); | 1626 int num_double_arguments); |
1627 | 1627 |
1628 void BranchAndLinkShort(int16_t offset, BranchDelaySlot bdslot = PROTECT); | 1628 void BranchAndLinkShort(int16_t offset, BranchDelaySlot bdslot = PROTECT); |
1629 void BranchAndLinkShort(int16_t offset, Condition cond, Register rs, | 1629 void BranchAndLinkShort(int16_t offset, Condition cond, Register rs, |
1630 const Operand& rt, | 1630 const Operand& rt, |
1631 BranchDelaySlot bdslot = PROTECT); | 1631 BranchDelaySlot bdslot = PROTECT); |
1632 void BranchAndLinkShort(Label* L, BranchDelaySlot bdslot = PROTECT); | 1632 void BranchAndLinkShort(Label* L, BranchDelaySlot bdslot = PROTECT); |
1633 void BranchAndLinkShort(Label* L, Condition cond, Register rs, | 1633 void BranchAndLinkShort(Label* L, Condition cond, Register rs, |
1634 const Operand& rt, | 1634 const Operand& rt, |
1635 BranchDelaySlot bdslot = PROTECT); | 1635 BranchDelaySlot bdslot = PROTECT); |
1636 void J(Label* L, BranchDelaySlot bdslot); | |
1637 void Jr(Label* L, BranchDelaySlot bdslot); | 1636 void Jr(Label* L, BranchDelaySlot bdslot); |
1638 void Jalr(Label* L, BranchDelaySlot bdslot); | 1637 void Jalr(Label* L, BranchDelaySlot bdslot); |
1639 | 1638 |
1640 // Common implementation of BranchF functions for the different formats. | 1639 // Common implementation of BranchF functions for the different formats. |
1641 void BranchFCommon(SecondaryField sizeField, Label* target, Label* nan, | 1640 void BranchFCommon(SecondaryField sizeField, Label* target, Label* nan, |
1642 Condition cc, FPURegister cmp1, FPURegister cmp2, | 1641 Condition cc, FPURegister cmp1, FPURegister cmp2, |
1643 BranchDelaySlot bd = PROTECT); | 1642 BranchDelaySlot bd = PROTECT); |
1644 | 1643 |
1645 // Helper functions for generating invokes. | 1644 // Helper functions for generating invokes. |
1646 void InvokePrologue(const ParameterCount& expected, | 1645 void InvokePrologue(const ParameterCount& expected, |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1736 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1735 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1737 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1736 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1738 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1737 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1739 #else | 1738 #else |
1740 #define ACCESS_MASM(masm) masm-> | 1739 #define ACCESS_MASM(masm) masm-> |
1741 #endif | 1740 #endif |
1742 | 1741 |
1743 } } // namespace v8::internal | 1742 } } // namespace v8::internal |
1744 | 1743 |
1745 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1744 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |