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

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

Issue 1413183002: [x64] Emit vmovss when AVX is enabled. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/compiler/x64/code-generator-x64.cc ('k') | src/x64/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 (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 1395 matching lines...) Expand 10 before | Expand all | Expand 10 after
1406 } 1406 }
1407 void vmaxss(XMMRegister dst, XMMRegister src1, const Operand& src2) { 1407 void vmaxss(XMMRegister dst, XMMRegister src1, const Operand& src2) {
1408 vss(0x5f, dst, src1, src2); 1408 vss(0x5f, dst, src1, src2);
1409 } 1409 }
1410 void vminss(XMMRegister dst, XMMRegister src1, XMMRegister src2) { 1410 void vminss(XMMRegister dst, XMMRegister src1, XMMRegister src2) {
1411 vss(0x5d, dst, src1, src2); 1411 vss(0x5d, dst, src1, src2);
1412 } 1412 }
1413 void vminss(XMMRegister dst, XMMRegister src1, const Operand& src2) { 1413 void vminss(XMMRegister dst, XMMRegister src1, const Operand& src2) {
1414 vss(0x5d, dst, src1, src2); 1414 vss(0x5d, dst, src1, src2);
1415 } 1415 }
1416 void vmovss(XMMRegister dst, const Operand& src) {
1417 vss(0x10, dst, xmm0, src);
1418 }
1419 void vmovss(const Operand& dst, XMMRegister src) {
1420 vss(0x11, src, xmm0, dst);
1421 }
1416 void vucomiss(XMMRegister dst, XMMRegister src); 1422 void vucomiss(XMMRegister dst, XMMRegister src);
1417 void vucomiss(XMMRegister dst, const Operand& src); 1423 void vucomiss(XMMRegister dst, const Operand& src);
1418 void vss(byte op, XMMRegister dst, XMMRegister src1, XMMRegister src2); 1424 void vss(byte op, XMMRegister dst, XMMRegister src1, XMMRegister src2);
1419 void vss(byte op, XMMRegister dst, XMMRegister src1, const Operand& src2); 1425 void vss(byte op, XMMRegister dst, XMMRegister src1, const Operand& src2);
1420 1426
1421 // BMI instruction 1427 // BMI instruction
1422 void andnq(Register dst, Register src1, Register src2) { 1428 void andnq(Register dst, Register src1, Register src2) {
1423 bmi1q(0xf2, dst, src1, src2); 1429 bmi1q(0xf2, dst, src1, src2);
1424 } 1430 }
1425 void andnq(Register dst, Register src1, const Operand& src2) { 1431 void andnq(Register dst, Register src1, const Operand& src2) {
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after
2174 Assembler* assembler_; 2180 Assembler* assembler_;
2175 #ifdef DEBUG 2181 #ifdef DEBUG
2176 int space_before_; 2182 int space_before_;
2177 #endif 2183 #endif
2178 }; 2184 };
2179 2185
2180 } // namespace internal 2186 } // namespace internal
2181 } // namespace v8 2187 } // namespace v8
2182 2188
2183 #endif // V8_X64_ASSEMBLER_X64_H_ 2189 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/compiler/x64/code-generator-x64.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698