| 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 895 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 906 inline void BranchF(Label* target, Label* nan, Condition cc, FPURegister cmp1, | 906 inline void BranchF(Label* target, Label* nan, Condition cc, FPURegister cmp1, |
| 907 FPURegister cmp2, BranchDelaySlot bd = PROTECT) { | 907 FPURegister cmp2, BranchDelaySlot bd = PROTECT) { |
| 908 BranchF64(target, nan, cc, cmp1, cmp2, bd); | 908 BranchF64(target, nan, cc, cmp1, cmp2, bd); |
| 909 } | 909 } |
| 910 | 910 |
| 911 inline void BranchF(BranchDelaySlot bd, Label* target, Label* nan, | 911 inline void BranchF(BranchDelaySlot bd, Label* target, Label* nan, |
| 912 Condition cc, FPURegister cmp1, FPURegister cmp2) { | 912 Condition cc, FPURegister cmp1, FPURegister cmp2) { |
| 913 BranchF64(bd, target, nan, cc, cmp1, cmp2); | 913 BranchF64(bd, target, nan, cc, cmp1, cmp2); |
| 914 } | 914 } |
| 915 | 915 |
| 916 void BranchMSA(Label* target, MSABranchDF df, MSABranchCondition cond, |
| 917 MSARegister wt, BranchDelaySlot bd = PROTECT); |
| 918 |
| 919 void BranchShortMSA(MSABranchDF df, Label* target, MSABranchCondition cond, |
| 920 MSARegister wt, BranchDelaySlot bd = PROTECT); |
| 921 |
| 916 // Truncates a double using a specific rounding mode, and writes the value | 922 // Truncates a double using a specific rounding mode, and writes the value |
| 917 // to the result register. | 923 // to the result register. |
| 918 // The except_flag will contain any exceptions caused by the instruction. | 924 // The except_flag will contain any exceptions caused by the instruction. |
| 919 // If check_inexact is kDontCheckForInexactConversion, then the inexact | 925 // If check_inexact is kDontCheckForInexactConversion, then the inexact |
| 920 // exception is masked. | 926 // exception is masked. |
| 921 void EmitFPUTruncate(FPURoundingMode rounding_mode, | 927 void EmitFPUTruncate(FPURoundingMode rounding_mode, |
| 922 Register result, | 928 Register result, |
| 923 DoubleRegister double_input, | 929 DoubleRegister double_input, |
| 924 Register scratch, | 930 Register scratch, |
| 925 DoubleRegister double_scratch, | 931 DoubleRegister double_scratch, |
| (...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1805 dd(GetLabelFunction(index)); | 1811 dd(GetLabelFunction(index)); |
| 1806 } | 1812 } |
| 1807 } | 1813 } |
| 1808 | 1814 |
| 1809 #define ACCESS_MASM(masm) masm-> | 1815 #define ACCESS_MASM(masm) masm-> |
| 1810 | 1816 |
| 1811 } // namespace internal | 1817 } // namespace internal |
| 1812 } // namespace v8 | 1818 } // namespace v8 |
| 1813 | 1819 |
| 1814 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1820 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |