| 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 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 825 // FPU macros. These do not handle special cases like NaN or +- inf. | 825 // FPU macros. These do not handle special cases like NaN or +- inf. |
| 826 | 826 |
| 827 // Convert unsigned word to double. | 827 // Convert unsigned word to double. |
| 828 void Cvt_d_uw(FPURegister fd, FPURegister fs); | 828 void Cvt_d_uw(FPURegister fd, FPURegister fs); |
| 829 void Cvt_d_uw(FPURegister fd, Register rs); | 829 void Cvt_d_uw(FPURegister fd, Register rs); |
| 830 | 830 |
| 831 // Convert unsigned long to double. | 831 // Convert unsigned long to double. |
| 832 void Cvt_d_ul(FPURegister fd, FPURegister fs); | 832 void Cvt_d_ul(FPURegister fd, FPURegister fs); |
| 833 void Cvt_d_ul(FPURegister fd, Register rs); | 833 void Cvt_d_ul(FPURegister fd, Register rs); |
| 834 | 834 |
| 835 // Convert unsigned word to float. |
| 836 void Cvt_s_uw(FPURegister fd, FPURegister fs); |
| 837 void Cvt_s_uw(FPURegister fd, Register rs); |
| 838 |
| 835 // Convert unsigned long to float. | 839 // Convert unsigned long to float. |
| 836 void Cvt_s_ul(FPURegister fd, FPURegister fs); | 840 void Cvt_s_ul(FPURegister fd, FPURegister fs); |
| 837 void Cvt_s_ul(FPURegister fd, Register rs); | 841 void Cvt_s_ul(FPURegister fd, Register rs); |
| 838 | 842 |
| 839 // Convert double to unsigned long. | 843 // Convert double to unsigned long. |
| 840 void Trunc_l_ud(FPURegister fd, FPURegister fs, FPURegister scratch); | 844 void Trunc_l_ud(FPURegister fd, FPURegister fs, FPURegister scratch); |
| 841 | 845 |
| 842 void Trunc_l_d(FPURegister fd, FPURegister fs); | 846 void Trunc_l_d(FPURegister fd, FPURegister fs); |
| 843 void Round_l_d(FPURegister fd, FPURegister fs); | 847 void Round_l_d(FPURegister fd, FPURegister fs); |
| 844 void Floor_l_d(FPURegister fd, FPURegister fs); | 848 void Floor_l_d(FPURegister fd, FPURegister fs); |
| (...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1953 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1957 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1954 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1958 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1955 #else | 1959 #else |
| 1956 #define ACCESS_MASM(masm) masm-> | 1960 #define ACCESS_MASM(masm) masm-> |
| 1957 #endif | 1961 #endif |
| 1958 | 1962 |
| 1959 } // namespace internal | 1963 } // namespace internal |
| 1960 } // namespace v8 | 1964 } // namespace v8 |
| 1961 | 1965 |
| 1962 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1966 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |