| 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 959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 970 inline void BranchF(Label* target, Label* nan, Condition cc, FPURegister cmp1, | 970 inline void BranchF(Label* target, Label* nan, Condition cc, FPURegister cmp1, |
| 971 FPURegister cmp2, BranchDelaySlot bd = PROTECT) { | 971 FPURegister cmp2, BranchDelaySlot bd = PROTECT) { |
| 972 BranchF64(target, nan, cc, cmp1, cmp2, bd); | 972 BranchF64(target, nan, cc, cmp1, cmp2, bd); |
| 973 } | 973 } |
| 974 | 974 |
| 975 inline void BranchF(BranchDelaySlot bd, Label* target, Label* nan, | 975 inline void BranchF(BranchDelaySlot bd, Label* target, Label* nan, |
| 976 Condition cc, FPURegister cmp1, FPURegister cmp2) { | 976 Condition cc, FPURegister cmp1, FPURegister cmp2) { |
| 977 BranchF64(bd, target, nan, cc, cmp1, cmp2); | 977 BranchF64(bd, target, nan, cc, cmp1, cmp2); |
| 978 } | 978 } |
| 979 | 979 |
| 980 void BranchMSA(Label* target, MSABranchDF df, MSABranchCondition cond, |
| 981 MSARegister wt, BranchDelaySlot bd = PROTECT); |
| 982 |
| 983 void BranchShortMSA(MSABranchDF df, Label* target, MSABranchCondition cond, |
| 984 MSARegister wt, BranchDelaySlot bd = PROTECT); |
| 985 |
| 980 // Truncates a double using a specific rounding mode, and writes the value | 986 // Truncates a double using a specific rounding mode, and writes the value |
| 981 // to the result register. | 987 // to the result register. |
| 982 // The except_flag will contain any exceptions caused by the instruction. | 988 // The except_flag will contain any exceptions caused by the instruction. |
| 983 // If check_inexact is kDontCheckForInexactConversion, then the inexact | 989 // If check_inexact is kDontCheckForInexactConversion, then the inexact |
| 984 // exception is masked. | 990 // exception is masked. |
| 985 void EmitFPUTruncate(FPURoundingMode rounding_mode, | 991 void EmitFPUTruncate(FPURoundingMode rounding_mode, |
| 986 Register result, | 992 Register result, |
| 987 DoubleRegister double_input, | 993 DoubleRegister double_input, |
| 988 Register scratch, | 994 Register scratch, |
| 989 DoubleRegister double_scratch, | 995 DoubleRegister double_scratch, |
| (...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1965 dd(GetLabelFunction(index)); | 1971 dd(GetLabelFunction(index)); |
| 1966 } | 1972 } |
| 1967 } | 1973 } |
| 1968 | 1974 |
| 1969 #define ACCESS_MASM(masm) masm-> | 1975 #define ACCESS_MASM(masm) masm-> |
| 1970 | 1976 |
| 1971 } // namespace internal | 1977 } // namespace internal |
| 1972 } // namespace v8 | 1978 } // namespace v8 |
| 1973 | 1979 |
| 1974 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1980 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |