Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: src/s390/macro-assembler-s390.h

Issue 2160573003: S390: Fix convertion from int32 to float32 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: more fix Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/s390/disasm-s390.cc ('k') | src/s390/macro-assembler-s390.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/s390/disasm-s390.cc ('k') | src/s390/macro-assembler-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698