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 1840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1851 bool BranchAndLinkShortHelperR6(int32_t offset, Label* L, Condition cond, | 1851 bool BranchAndLinkShortHelperR6(int32_t offset, Label* L, Condition cond, |
1852 Register rs, const Operand& rt); | 1852 Register rs, const Operand& rt); |
1853 bool BranchAndLinkShortHelper(int16_t offset, Label* L, Condition cond, | 1853 bool BranchAndLinkShortHelper(int16_t offset, Label* L, Condition cond, |
1854 Register rs, const Operand& rt, | 1854 Register rs, const Operand& rt, |
1855 BranchDelaySlot bdslot); | 1855 BranchDelaySlot bdslot); |
1856 bool BranchAndLinkShortCheck(int32_t offset, Label* L, Condition cond, | 1856 bool BranchAndLinkShortCheck(int32_t offset, Label* L, Condition cond, |
1857 Register rs, const Operand& rt, | 1857 Register rs, const Operand& rt, |
1858 BranchDelaySlot bdslot); | 1858 BranchDelaySlot bdslot); |
1859 void BranchLong(Label* L, BranchDelaySlot bdslot); | 1859 void BranchLong(Label* L, BranchDelaySlot bdslot); |
1860 void BranchAndLinkLong(Label* L, BranchDelaySlot bdslot); | 1860 void BranchAndLinkLong(Label* L, BranchDelaySlot bdslot); |
1861 void Jr(Label* L, BranchDelaySlot bdslot); | |
1862 void Jalr(Label* L, BranchDelaySlot bdslot); | |
1863 | 1861 |
1864 // Common implementation of BranchF functions for the different formats. | 1862 // Common implementation of BranchF functions for the different formats. |
1865 void BranchFCommon(SecondaryField sizeField, Label* target, Label* nan, | 1863 void BranchFCommon(SecondaryField sizeField, Label* target, Label* nan, |
1866 Condition cc, FPURegister cmp1, FPURegister cmp2, | 1864 Condition cc, FPURegister cmp1, FPURegister cmp2, |
1867 BranchDelaySlot bd = PROTECT); | 1865 BranchDelaySlot bd = PROTECT); |
1868 | 1866 |
1869 void BranchShortF(SecondaryField sizeField, Label* target, Condition cc, | 1867 void BranchShortF(SecondaryField sizeField, Label* target, Condition cc, |
1870 FPURegister cmp1, FPURegister cmp2, | 1868 FPURegister cmp1, FPURegister cmp2, |
1871 BranchDelaySlot bd = PROTECT); | 1869 BranchDelaySlot bd = PROTECT); |
1872 | 1870 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1989 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1987 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1990 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1988 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1991 #else | 1989 #else |
1992 #define ACCESS_MASM(masm) masm-> | 1990 #define ACCESS_MASM(masm) masm-> |
1993 #endif | 1991 #endif |
1994 | 1992 |
1995 } // namespace internal | 1993 } // namespace internal |
1996 } // namespace v8 | 1994 } // namespace v8 |
1997 | 1995 |
1998 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1996 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |