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 1641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1652 void BranchAndLinkShort(int32_t offset, BranchDelaySlot bdslot = PROTECT); | 1652 void BranchAndLinkShort(int32_t offset, BranchDelaySlot bdslot = PROTECT); |
1653 void BranchAndLinkShort(Label* L, BranchDelaySlot bdslot = PROTECT); | 1653 void BranchAndLinkShort(Label* L, BranchDelaySlot bdslot = PROTECT); |
1654 bool BranchAndLinkShortHelperR6(int32_t offset, Label* L, Condition cond, | 1654 bool BranchAndLinkShortHelperR6(int32_t offset, Label* L, Condition cond, |
1655 Register rs, const Operand& rt); | 1655 Register rs, const Operand& rt); |
1656 bool BranchAndLinkShortHelper(int16_t offset, Label* L, Condition cond, | 1656 bool BranchAndLinkShortHelper(int16_t offset, Label* L, Condition cond, |
1657 Register rs, const Operand& rt, | 1657 Register rs, const Operand& rt, |
1658 BranchDelaySlot bdslot); | 1658 BranchDelaySlot bdslot); |
1659 bool BranchAndLinkShortCheck(int32_t offset, Label* L, Condition cond, | 1659 bool BranchAndLinkShortCheck(int32_t offset, Label* L, Condition cond, |
1660 Register rs, const Operand& rt, | 1660 Register rs, const Operand& rt, |
1661 BranchDelaySlot bdslot); | 1661 BranchDelaySlot bdslot); |
1662 void Jr(Label* L, BranchDelaySlot bdslot); | 1662 void BranchLong(Label* L, BranchDelaySlot bdslot); |
1663 void Jalr(Label* L, BranchDelaySlot bdslot); | 1663 void BranchAndLinkLong(Label* L, BranchDelaySlot bdslot); |
1664 | 1664 |
1665 // Common implementation of BranchF functions for the different formats. | 1665 // Common implementation of BranchF functions for the different formats. |
1666 void BranchFCommon(SecondaryField sizeField, Label* target, Label* nan, | 1666 void BranchFCommon(SecondaryField sizeField, Label* target, Label* nan, |
1667 Condition cc, FPURegister cmp1, FPURegister cmp2, | 1667 Condition cc, FPURegister cmp1, FPURegister cmp2, |
1668 BranchDelaySlot bd = PROTECT); | 1668 BranchDelaySlot bd = PROTECT); |
1669 | 1669 |
1670 void BranchShortF(SecondaryField sizeField, Label* target, Condition cc, | 1670 void BranchShortF(SecondaryField sizeField, Label* target, Condition cc, |
1671 FPURegister cmp1, FPURegister cmp2, | 1671 FPURegister cmp1, FPURegister cmp2, |
1672 BranchDelaySlot bd = PROTECT); | 1672 BranchDelaySlot bd = PROTECT); |
1673 | 1673 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1762 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1762 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1763 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1763 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1764 #else | 1764 #else |
1765 #define ACCESS_MASM(masm) masm-> | 1765 #define ACCESS_MASM(masm) masm-> |
1766 #endif | 1766 #endif |
1767 | 1767 |
1768 } // namespace internal | 1768 } // namespace internal |
1769 } // namespace v8 | 1769 } // namespace v8 |
1770 | 1770 |
1771 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1771 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |