| 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 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 922 void Trunc_ul_s(FPURegister fd, FPURegister fs, FPURegister scratch, | 922 void Trunc_ul_s(FPURegister fd, FPURegister fs, FPURegister scratch, |
| 923 Register result = no_reg); | 923 Register result = no_reg); |
| 924 void Trunc_ul_s(FPURegister fd, Register rs, FPURegister scratch, | 924 void Trunc_ul_s(FPURegister fd, Register rs, FPURegister scratch, |
| 925 Register result = no_reg); | 925 Register result = no_reg); |
| 926 | 926 |
| 927 void Trunc_w_d(FPURegister fd, FPURegister fs); | 927 void Trunc_w_d(FPURegister fd, FPURegister fs); |
| 928 void Round_w_d(FPURegister fd, FPURegister fs); | 928 void Round_w_d(FPURegister fd, FPURegister fs); |
| 929 void Floor_w_d(FPURegister fd, FPURegister fs); | 929 void Floor_w_d(FPURegister fd, FPURegister fs); |
| 930 void Ceil_w_d(FPURegister fd, FPURegister fs); | 930 void Ceil_w_d(FPURegister fd, FPURegister fs); |
| 931 | 931 |
| 932 // Preserve value of a NaN operand |
| 933 void SubNanPreservePayloadAndSign_s(FPURegister fd, FPURegister fs, |
| 934 FPURegister ft); |
| 935 void SubNanPreservePayloadAndSign_d(FPURegister fd, FPURegister fs, |
| 936 FPURegister ft); |
| 937 |
| 932 void Madd_d(FPURegister fd, | 938 void Madd_d(FPURegister fd, |
| 933 FPURegister fr, | 939 FPURegister fr, |
| 934 FPURegister fs, | 940 FPURegister fs, |
| 935 FPURegister ft, | 941 FPURegister ft, |
| 936 FPURegister scratch); | 942 FPURegister scratch); |
| 937 | 943 |
| 938 // Wrapper functions for the different cmp/branch types. | 944 // Wrapper functions for the different cmp/branch types. |
| 939 inline void BranchF32(Label* target, Label* nan, Condition cc, | 945 inline void BranchF32(Label* target, Label* nan, Condition cc, |
| 940 FPURegister cmp1, FPURegister cmp2, | 946 FPURegister cmp1, FPURegister cmp2, |
| 941 BranchDelaySlot bd = PROTECT) { | 947 BranchDelaySlot bd = PROTECT) { |
| (...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2031 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2037 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2032 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2038 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2033 #else | 2039 #else |
| 2034 #define ACCESS_MASM(masm) masm-> | 2040 #define ACCESS_MASM(masm) masm-> |
| 2035 #endif | 2041 #endif |
| 2036 | 2042 |
| 2037 } // namespace internal | 2043 } // namespace internal |
| 2038 } // namespace v8 | 2044 } // namespace v8 |
| 2039 | 2045 |
| 2040 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 2046 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |