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

Side by Side Diff: src/ia32/assembler-ia32.h

Issue 662813002: IA: Double arithmetic binops support memory operand (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/x64/instruction-selector-x64.cc ('k') | src/ia32/assembler-ia32.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 void cvtsi2sd(XMMRegister dst, Register src) { cvtsi2sd(dst, Operand(src)); } 959 void cvtsi2sd(XMMRegister dst, Register src) { cvtsi2sd(dst, Operand(src)); }
960 void cvtsi2sd(XMMRegister dst, const Operand& src); 960 void cvtsi2sd(XMMRegister dst, const Operand& src);
961 void cvtss2sd(XMMRegister dst, const Operand& src); 961 void cvtss2sd(XMMRegister dst, const Operand& src);
962 void cvtss2sd(XMMRegister dst, XMMRegister src) { 962 void cvtss2sd(XMMRegister dst, XMMRegister src) {
963 cvtss2sd(dst, Operand(src)); 963 cvtss2sd(dst, Operand(src));
964 } 964 }
965 void cvtsd2ss(XMMRegister dst, const Operand& src); 965 void cvtsd2ss(XMMRegister dst, const Operand& src);
966 void cvtsd2ss(XMMRegister dst, XMMRegister src) { 966 void cvtsd2ss(XMMRegister dst, XMMRegister src) {
967 cvtsd2ss(dst, Operand(src)); 967 cvtsd2ss(dst, Operand(src));
968 } 968 }
969 void addsd(XMMRegister dst, XMMRegister src); 969 void addsd(XMMRegister dst, XMMRegister src) { addsd(dst, Operand(src)); }
970 void addsd(XMMRegister dst, const Operand& src); 970 void addsd(XMMRegister dst, const Operand& src);
971 void subsd(XMMRegister dst, XMMRegister src); 971 void subsd(XMMRegister dst, XMMRegister src) { subsd(dst, Operand(src)); }
972 void subsd(XMMRegister dst, const Operand& src); 972 void subsd(XMMRegister dst, const Operand& src);
973 void mulsd(XMMRegister dst, XMMRegister src); 973 void mulsd(XMMRegister dst, XMMRegister src) { mulsd(dst, Operand(src)); }
974 void mulsd(XMMRegister dst, const Operand& src); 974 void mulsd(XMMRegister dst, const Operand& src);
975 void divsd(XMMRegister dst, XMMRegister src); 975 void divsd(XMMRegister dst, XMMRegister src) { divsd(dst, Operand(src)); }
976 void divsd(XMMRegister dst, const Operand& src);
976 void xorpd(XMMRegister dst, XMMRegister src); 977 void xorpd(XMMRegister dst, XMMRegister src);
977 void sqrtsd(XMMRegister dst, XMMRegister src); 978 void sqrtsd(XMMRegister dst, XMMRegister src) { sqrtsd(dst, Operand(src)); }
978 void sqrtsd(XMMRegister dst, const Operand& src); 979 void sqrtsd(XMMRegister dst, const Operand& src);
979 980
980 void andpd(XMMRegister dst, XMMRegister src); 981 void andpd(XMMRegister dst, XMMRegister src);
981 void orpd(XMMRegister dst, XMMRegister src); 982 void orpd(XMMRegister dst, XMMRegister src);
982 983
983 void ucomisd(XMMRegister dst, XMMRegister src) { ucomisd(dst, Operand(src)); } 984 void ucomisd(XMMRegister dst, XMMRegister src) { ucomisd(dst, Operand(src)); }
984 void ucomisd(XMMRegister dst, const Operand& src); 985 void ucomisd(XMMRegister dst, const Operand& src);
985 986
986 enum RoundingMode { 987 enum RoundingMode {
987 kRoundToNearest = 0x0, 988 kRoundToNearest = 0x0,
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1198 private: 1199 private:
1199 Assembler* assembler_; 1200 Assembler* assembler_;
1200 #ifdef DEBUG 1201 #ifdef DEBUG
1201 int space_before_; 1202 int space_before_;
1202 #endif 1203 #endif
1203 }; 1204 };
1204 1205
1205 } } // namespace v8::internal 1206 } } // namespace v8::internal
1206 1207
1207 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1208 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/compiler/x64/instruction-selector-x64.cc ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698