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 869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
880 // the higher 32 bits of the 64-bit coprocessor register, | 880 // the higher 32 bits of the 64-bit coprocessor register, |
881 // while leaving the low bits unchanged. | 881 // while leaving the low bits unchanged. |
882 void Mthc1(Register rt, FPURegister fs); | 882 void Mthc1(Register rt, FPURegister fs); |
883 | 883 |
884 // FP32 mode: move the high part of the double-register pair into | 884 // FP32 mode: move the high part of the double-register pair into |
885 // general purpose register. | 885 // general purpose register. |
886 // FP64 mode: Move the higher 32 bits of the 64-bit coprocessor register into | 886 // FP64 mode: Move the higher 32 bits of the 64-bit coprocessor register into |
887 // general-purpose register. | 887 // general-purpose register. |
888 void Mfhc1(Register rt, FPURegister fs); | 888 void Mfhc1(Register rt, FPURegister fs); |
889 | 889 |
| 890 void Madd_s(FPURegister fd, FPURegister fr, FPURegister fs, FPURegister ft, |
| 891 FPURegister scratch); |
| 892 void Madd_d(FPURegister fd, FPURegister fr, FPURegister fs, FPURegister ft, |
| 893 FPURegister scratch); |
| 894 void Msub_s(FPURegister fd, FPURegister fr, FPURegister fs, FPURegister ft, |
| 895 FPURegister scratch); |
| 896 void Msub_d(FPURegister fd, FPURegister fr, FPURegister fs, FPURegister ft, |
| 897 FPURegister scratch); |
| 898 |
890 // Wrapper functions for the different cmp/branch types. | 899 // Wrapper functions for the different cmp/branch types. |
891 inline void BranchF32(Label* target, Label* nan, Condition cc, | 900 inline void BranchF32(Label* target, Label* nan, Condition cc, |
892 FPURegister cmp1, FPURegister cmp2, | 901 FPURegister cmp1, FPURegister cmp2, |
893 BranchDelaySlot bd = PROTECT) { | 902 BranchDelaySlot bd = PROTECT) { |
894 BranchFCommon(S, target, nan, cc, cmp1, cmp2, bd); | 903 BranchFCommon(S, target, nan, cc, cmp1, cmp2, bd); |
895 } | 904 } |
896 | 905 |
897 inline void BranchF64(Label* target, Label* nan, Condition cc, | 906 inline void BranchF64(Label* target, Label* nan, Condition cc, |
898 FPURegister cmp1, FPURegister cmp2, | 907 FPURegister cmp1, FPURegister cmp2, |
899 BranchDelaySlot bd = PROTECT) { | 908 BranchDelaySlot bd = PROTECT) { |
(...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1859 dd(GetLabelFunction(index)); | 1868 dd(GetLabelFunction(index)); |
1860 } | 1869 } |
1861 } | 1870 } |
1862 | 1871 |
1863 #define ACCESS_MASM(masm) masm-> | 1872 #define ACCESS_MASM(masm) masm-> |
1864 | 1873 |
1865 } // namespace internal | 1874 } // namespace internal |
1866 } // namespace v8 | 1875 } // namespace v8 |
1867 | 1876 |
1868 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1877 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |