OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_S390_MACRO_ASSEMBLER_S390_H_ | 5 #ifndef V8_S390_MACRO_ASSEMBLER_S390_H_ |
6 #define V8_S390_MACRO_ASSEMBLER_S390_H_ | 6 #define V8_S390_MACRO_ASSEMBLER_S390_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/frames.h" | 10 #include "src/frames.h" |
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 void ConvertDoubleToInt64(const DoubleRegister double_input, | 685 void ConvertDoubleToInt64(const DoubleRegister double_input, |
686 #if !V8_TARGET_ARCH_S390X | 686 #if !V8_TARGET_ARCH_S390X |
687 const Register dst_hi, | 687 const Register dst_hi, |
688 #endif | 688 #endif |
689 const Register dst, const DoubleRegister double_dst, | 689 const Register dst, const DoubleRegister double_dst, |
690 FPRoundingMode rounding_mode = kRoundToZero); | 690 FPRoundingMode rounding_mode = kRoundToZero); |
691 | 691 |
692 void ConvertFloat32ToInt32(const DoubleRegister double_input, | 692 void ConvertFloat32ToInt32(const DoubleRegister double_input, |
693 const Register dst, | 693 const Register dst, |
694 const DoubleRegister double_dst, | 694 const DoubleRegister double_dst, |
695 FPRoundingMode rounding_mode = kRoundToZero); | 695 FPRoundingMode rounding_mode); |
696 void ConvertFloat32ToUnsignedInt32( | 696 void ConvertFloat32ToUnsignedInt32( |
697 const DoubleRegister double_input, const Register dst, | 697 const DoubleRegister double_input, const Register dst, |
698 const DoubleRegister double_dst, | 698 const DoubleRegister double_dst, |
699 FPRoundingMode rounding_mode = kRoundToZero); | 699 FPRoundingMode rounding_mode = kRoundToZero); |
700 #if V8_TARGET_ARCH_S390X | 700 #if V8_TARGET_ARCH_S390X |
701 // Converts the double_input to an unsigned integer. Note that, upon return, | 701 // Converts the double_input to an unsigned integer. Note that, upon return, |
702 // the contents of double_dst will also hold the fixed point representation. | 702 // the contents of double_dst will also hold the fixed point representation. |
703 void ConvertDoubleToUnsignedInt64( | 703 void ConvertDoubleToUnsignedInt64( |
704 const DoubleRegister double_input, const Register dst, | 704 const DoubleRegister double_input, const Register dst, |
705 const DoubleRegister double_dst, | 705 const DoubleRegister double_dst, |
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1914 #define ACCESS_MASM(masm) \ | 1914 #define ACCESS_MASM(masm) \ |
1915 masm->stop(__FILE_LINE__); \ | 1915 masm->stop(__FILE_LINE__); \ |
1916 masm-> | 1916 masm-> |
1917 #else | 1917 #else |
1918 #define ACCESS_MASM(masm) masm-> | 1918 #define ACCESS_MASM(masm) masm-> |
1919 #endif | 1919 #endif |
1920 } // namespace internal | 1920 } // namespace internal |
1921 } // namespace v8 | 1921 } // namespace v8 |
1922 | 1922 |
1923 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ | 1923 #endif // V8_S390_MACRO_ASSEMBLER_S390_H_ |
OLD | NEW |