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 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
933 void Round_w_d(FPURegister fd, FPURegister fs); | 933 void Round_w_d(FPURegister fd, FPURegister fs); |
934 void Floor_w_d(FPURegister fd, FPURegister fs); | 934 void Floor_w_d(FPURegister fd, FPURegister fs); |
935 void Ceil_w_d(FPURegister fd, FPURegister fs); | 935 void Ceil_w_d(FPURegister fd, FPURegister fs); |
936 | 936 |
937 // Preserve value of a NaN operand | 937 // Preserve value of a NaN operand |
938 void SubNanPreservePayloadAndSign_s(FPURegister fd, FPURegister fs, | 938 void SubNanPreservePayloadAndSign_s(FPURegister fd, FPURegister fs, |
939 FPURegister ft); | 939 FPURegister ft); |
940 void SubNanPreservePayloadAndSign_d(FPURegister fd, FPURegister fs, | 940 void SubNanPreservePayloadAndSign_d(FPURegister fd, FPURegister fs, |
941 FPURegister ft); | 941 FPURegister ft); |
942 | 942 |
943 void Madd_d(FPURegister fd, | 943 void Madd_s(FPURegister fd, FPURegister fr, FPURegister fs, FPURegister ft, |
944 FPURegister fr, | 944 FPURegister scratch); |
945 FPURegister fs, | 945 void Madd_d(FPURegister fd, FPURegister fr, FPURegister fs, FPURegister ft, |
946 FPURegister ft, | 946 FPURegister scratch); |
| 947 void Msub_s(FPURegister fd, FPURegister fr, FPURegister fs, FPURegister ft, |
| 948 FPURegister scratch); |
| 949 void Msub_d(FPURegister fd, FPURegister fr, FPURegister fs, FPURegister ft, |
947 FPURegister scratch); | 950 FPURegister scratch); |
948 | 951 |
949 // Wrapper functions for the different cmp/branch types. | 952 // Wrapper functions for the different cmp/branch types. |
950 inline void BranchF32(Label* target, Label* nan, Condition cc, | 953 inline void BranchF32(Label* target, Label* nan, Condition cc, |
951 FPURegister cmp1, FPURegister cmp2, | 954 FPURegister cmp1, FPURegister cmp2, |
952 BranchDelaySlot bd = PROTECT) { | 955 BranchDelaySlot bd = PROTECT) { |
953 BranchFCommon(S, target, nan, cc, cmp1, cmp2, bd); | 956 BranchFCommon(S, target, nan, cc, cmp1, cmp2, bd); |
954 } | 957 } |
955 | 958 |
956 inline void BranchF64(Label* target, Label* nan, Condition cc, | 959 inline void BranchF64(Label* target, Label* nan, Condition cc, |
(...skipping 1052 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2009 dd(GetLabelFunction(index)); | 2012 dd(GetLabelFunction(index)); |
2010 } | 2013 } |
2011 } | 2014 } |
2012 | 2015 |
2013 #define ACCESS_MASM(masm) masm-> | 2016 #define ACCESS_MASM(masm) masm-> |
2014 | 2017 |
2015 } // namespace internal | 2018 } // namespace internal |
2016 } // namespace v8 | 2019 } // namespace v8 |
2017 | 2020 |
2018 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 2021 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |