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

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

Issue 2161513002: [x64] add Absps/d and Negps/d macro (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « no previous file | src/x64/macro-assembler-x64.cc » ('j') | src/x64/macro-assembler-x64.cc » ('J')
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 939 matching lines...) Expand 10 before | Expand all | Expand 10 after
950 #define AVX_OP2_O(macro_name, name) \ 950 #define AVX_OP2_O(macro_name, name) \
951 AVX_OP2_WITH_TYPE(macro_name, name, const Operand&) 951 AVX_OP2_WITH_TYPE(macro_name, name, const Operand&)
952 #define AVX_OP2_XO(macro_name, name) \ 952 #define AVX_OP2_XO(macro_name, name) \
953 AVX_OP2_X(macro_name, name) \ 953 AVX_OP2_X(macro_name, name) \
954 AVX_OP2_O(macro_name, name) 954 AVX_OP2_O(macro_name, name)
955 955
956 AVX_OP2_XO(Addsd, addsd) 956 AVX_OP2_XO(Addsd, addsd)
957 AVX_OP2_XO(Subsd, subsd) 957 AVX_OP2_XO(Subsd, subsd)
958 AVX_OP2_XO(Mulsd, mulsd) 958 AVX_OP2_XO(Mulsd, mulsd)
959 AVX_OP2_XO(Divsd, divsd) 959 AVX_OP2_XO(Divsd, divsd)
960 AVX_OP2_XO(Andps, andps)
960 AVX_OP2_X(Andpd, andpd) 961 AVX_OP2_X(Andpd, andpd)
961 AVX_OP2_X(Orpd, orpd) 962 AVX_OP2_X(Orpd, orpd)
962 AVX_OP2_X(Xorpd, xorpd) 963 AVX_OP2_X(Xorpd, xorpd)
963 AVX_OP2_X(Pcmpeqd, pcmpeqd) 964 AVX_OP2_X(Pcmpeqd, pcmpeqd)
964 AVX_OP2_WITH_TYPE(Psllq, psllq, byte) 965 AVX_OP2_WITH_TYPE(Psllq, psllq, byte)
965 AVX_OP2_WITH_TYPE(Psrlq, psrlq, byte) 966 AVX_OP2_WITH_TYPE(Psrlq, psrlq, byte)
966 967
967 #undef AVX_OP2_O 968 #undef AVX_OP2_O
968 #undef AVX_OP2_X 969 #undef AVX_OP2_X
969 #undef AVX_OP2_XO 970 #undef AVX_OP2_XO
(...skipping 25 matching lines...) Expand all
995 void Roundss(XMMRegister dst, XMMRegister src, RoundingMode mode); 996 void Roundss(XMMRegister dst, XMMRegister src, RoundingMode mode);
996 void Roundsd(XMMRegister dst, XMMRegister src, RoundingMode mode); 997 void Roundsd(XMMRegister dst, XMMRegister src, RoundingMode mode);
997 void Sqrtsd(XMMRegister dst, XMMRegister src); 998 void Sqrtsd(XMMRegister dst, XMMRegister src);
998 void Sqrtsd(XMMRegister dst, const Operand& src); 999 void Sqrtsd(XMMRegister dst, const Operand& src);
999 1000
1000 void Ucomiss(XMMRegister src1, XMMRegister src2); 1001 void Ucomiss(XMMRegister src1, XMMRegister src2);
1001 void Ucomiss(XMMRegister src1, const Operand& src2); 1002 void Ucomiss(XMMRegister src1, const Operand& src2);
1002 void Ucomisd(XMMRegister src1, XMMRegister src2); 1003 void Ucomisd(XMMRegister src1, XMMRegister src2);
1003 void Ucomisd(XMMRegister src1, const Operand& src2); 1004 void Ucomisd(XMMRegister src1, const Operand& src2);
1004 1005
1006 // ---------------------------------------------------------------------------
1007 // SIMD macros.
1008 void Absps(XMMRegister dst);
1009 void Negps(XMMRegister dst);
1010
1011
1005 // Control Flow 1012 // Control Flow
1006 void Jump(Address destination, RelocInfo::Mode rmode); 1013 void Jump(Address destination, RelocInfo::Mode rmode);
1007 void Jump(ExternalReference ext); 1014 void Jump(ExternalReference ext);
1008 void Jump(const Operand& op); 1015 void Jump(const Operand& op);
1009 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); 1016 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode);
1010 1017
1011 void Call(Address destination, RelocInfo::Mode rmode); 1018 void Call(Address destination, RelocInfo::Mode rmode);
1012 void Call(ExternalReference ext); 1019 void Call(ExternalReference ext);
1013 void Call(const Operand& op); 1020 void Call(const Operand& op);
1014 void Call(Handle<Code> code_object, 1021 void Call(Handle<Code> code_object,
(...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after
1784 } \ 1791 } \
1785 masm-> 1792 masm->
1786 #else 1793 #else
1787 #define ACCESS_MASM(masm) masm-> 1794 #define ACCESS_MASM(masm) masm->
1788 #endif 1795 #endif
1789 1796
1790 } // namespace internal 1797 } // namespace internal
1791 } // namespace v8 1798 } // namespace v8
1792 1799
1793 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1800 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « no previous file | src/x64/macro-assembler-x64.cc » ('j') | src/x64/macro-assembler-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698