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 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
864 | 864 |
865 // Convert double to unsigned word. | 865 // Convert double to unsigned word. |
866 void Trunc_uw_d(FPURegister fd, FPURegister fs, FPURegister scratch); | 866 void Trunc_uw_d(FPURegister fd, FPURegister fs, FPURegister scratch); |
867 void Trunc_uw_d(FPURegister fd, Register rs, FPURegister scratch); | 867 void Trunc_uw_d(FPURegister fd, Register rs, FPURegister scratch); |
868 | 868 |
869 void Trunc_w_d(FPURegister fd, FPURegister fs); | 869 void Trunc_w_d(FPURegister fd, FPURegister fs); |
870 void Round_w_d(FPURegister fd, FPURegister fs); | 870 void Round_w_d(FPURegister fd, FPURegister fs); |
871 void Floor_w_d(FPURegister fd, FPURegister fs); | 871 void Floor_w_d(FPURegister fd, FPURegister fs); |
872 void Ceil_w_d(FPURegister fd, FPURegister fs); | 872 void Ceil_w_d(FPURegister fd, FPURegister fs); |
873 | 873 |
| 874 // Preserve value of a NaN operand |
| 875 void SubNanPreservePayloadAndSign_s(FPURegister fd, FPURegister fs, |
| 876 FPURegister ft); |
| 877 void SubNanPreservePayloadAndSign_d(FPURegister fd, FPURegister fs, |
| 878 FPURegister ft); |
| 879 |
874 // FP32 mode: Move the general purpose register into | 880 // FP32 mode: Move the general purpose register into |
875 // the high part of the double-register pair. | 881 // the high part of the double-register pair. |
876 // FP64 mode: Move the general-purpose register into | 882 // FP64 mode: Move the general-purpose register into |
877 // the higher 32 bits of the 64-bit coprocessor register, | 883 // the higher 32 bits of the 64-bit coprocessor register, |
878 // while leaving the low bits unchanged. | 884 // while leaving the low bits unchanged. |
879 void Mthc1(Register rt, FPURegister fs); | 885 void Mthc1(Register rt, FPURegister fs); |
880 | 886 |
881 // FP32 mode: move the high part of the double-register pair into | 887 // FP32 mode: move the high part of the double-register pair into |
882 // general purpose register. | 888 // general purpose register. |
883 // FP64 mode: Move the higher 32 bits of the 64-bit coprocessor register into | 889 // FP64 mode: Move the higher 32 bits of the 64-bit coprocessor register into |
(...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1887 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1893 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1888 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1894 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1889 #else | 1895 #else |
1890 #define ACCESS_MASM(masm) masm-> | 1896 #define ACCESS_MASM(masm) masm-> |
1891 #endif | 1897 #endif |
1892 | 1898 |
1893 } // namespace internal | 1899 } // namespace internal |
1894 } // namespace v8 | 1900 } // namespace v8 |
1895 | 1901 |
1896 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1902 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |