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

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

Issue 1593313010: Revert of [turbofan] Implement rounding of floats on x64 and ia32 without sse4.1. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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/x64/disasm-x64.cc ('k') | src/x64/macro-assembler-x64.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 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_X64_MACRO_ASSEMBLER_X64_H_ 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ 6 #define V8_X64_MACRO_ASSEMBLER_X64_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/base/flags.h" 10 #include "src/base/flags.h"
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 void Cvtqui2sd(XMMRegister dst, Register src, Register tmp); 824 void Cvtqui2sd(XMMRegister dst, Register src, Register tmp);
825 825
826 void Cvtsd2si(Register dst, XMMRegister src); 826 void Cvtsd2si(Register dst, XMMRegister src);
827 827
828 void Cvttss2si(Register dst, XMMRegister src); 828 void Cvttss2si(Register dst, XMMRegister src);
829 void Cvttss2si(Register dst, const Operand& src); 829 void Cvttss2si(Register dst, const Operand& src);
830 void Cvttsd2si(Register dst, XMMRegister src); 830 void Cvttsd2si(Register dst, XMMRegister src);
831 void Cvttsd2si(Register dst, const Operand& src); 831 void Cvttsd2si(Register dst, const Operand& src);
832 void Cvttss2siq(Register dst, XMMRegister src); 832 void Cvttss2siq(Register dst, XMMRegister src);
833 void Cvttss2siq(Register dst, const Operand& src); 833 void Cvttss2siq(Register dst, const Operand& src);
834 void Cvtss2siq(Register dst, XMMRegister src);
835 void Cvtss2siq(Register dst, const Operand& src);
836 void Cvttsd2siq(Register dst, XMMRegister src); 834 void Cvttsd2siq(Register dst, XMMRegister src);
837 void Cvttsd2siq(Register dst, const Operand& src); 835 void Cvttsd2siq(Register dst, const Operand& src);
838 void Cvtsd2siq(Register dst, XMMRegister src);
839 void Cvtsd2siq(Register dst, const Operand& src);
840 836
841 // Move if the registers are not identical. 837 // Move if the registers are not identical.
842 void Move(Register target, Register source); 838 void Move(Register target, Register source);
843 839
844 // TestBit and Load SharedFunctionInfo special field. 840 // TestBit and Load SharedFunctionInfo special field.
845 void TestBitSharedFunctionInfoSpecialField(Register base, 841 void TestBitSharedFunctionInfoSpecialField(Register base,
846 int offset, 842 int offset,
847 int bit_index); 843 int bit_index);
848 void LoadSharedFunctionInfoSpecialField(Register dst, 844 void LoadSharedFunctionInfoSpecialField(Register dst,
849 Register base, 845 Register base,
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
964 void Movd(XMMRegister dst, const Operand& src); 960 void Movd(XMMRegister dst, const Operand& src);
965 void Movd(Register dst, XMMRegister src); 961 void Movd(Register dst, XMMRegister src);
966 void Movq(XMMRegister dst, Register src); 962 void Movq(XMMRegister dst, Register src);
967 void Movq(Register dst, XMMRegister src); 963 void Movq(Register dst, XMMRegister src);
968 964
969 void Movaps(XMMRegister dst, XMMRegister src); 965 void Movaps(XMMRegister dst, XMMRegister src);
970 void Movapd(XMMRegister dst, XMMRegister src); 966 void Movapd(XMMRegister dst, XMMRegister src);
971 void Movmskpd(Register dst, XMMRegister src); 967 void Movmskpd(Register dst, XMMRegister src);
972 968
973 void Roundss(XMMRegister dst, XMMRegister src, RoundingMode mode); 969 void Roundss(XMMRegister dst, XMMRegister src, RoundingMode mode);
974 void Roundss(XMMRegister dst, XMMRegister src, Register tmp,
975 RoundingMode mode);
976 void Roundsd(XMMRegister dst, XMMRegister src, RoundingMode mode); 970 void Roundsd(XMMRegister dst, XMMRegister src, RoundingMode mode);
977 void Roundsd(XMMRegister dst, XMMRegister src, Register tmp,
978 RoundingMode mode);
979 void Sqrtsd(XMMRegister dst, XMMRegister src); 971 void Sqrtsd(XMMRegister dst, XMMRegister src);
980 void Sqrtsd(XMMRegister dst, const Operand& src); 972 void Sqrtsd(XMMRegister dst, const Operand& src);
981 973
982 void Ucomiss(XMMRegister src1, XMMRegister src2); 974 void Ucomiss(XMMRegister src1, XMMRegister src2);
983 void Ucomiss(XMMRegister src1, const Operand& src2); 975 void Ucomiss(XMMRegister src1, const Operand& src2);
984 void Ucomisd(XMMRegister src1, XMMRegister src2); 976 void Ucomisd(XMMRegister src1, XMMRegister src2);
985 void Ucomisd(XMMRegister src1, const Operand& src2); 977 void Ucomisd(XMMRegister src1, const Operand& src2);
986 978
987 // Control Flow 979 // Control Flow
988 void Jump(Address destination, RelocInfo::Mode rmode); 980 void Jump(Address destination, RelocInfo::Mode rmode);
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
1752 } \ 1744 } \
1753 masm-> 1745 masm->
1754 #else 1746 #else
1755 #define ACCESS_MASM(masm) masm-> 1747 #define ACCESS_MASM(masm) masm->
1756 #endif 1748 #endif
1757 1749
1758 } // namespace internal 1750 } // namespace internal
1759 } // namespace v8 1751 } // namespace v8
1760 1752
1761 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1753 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/disasm-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698