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

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

Issue 1413013003: [x64] Implement vcvtqsi2sd AVX instruction. (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 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 void vcvtss2sd(XMMRegister dst, XMMRegister src1, const Operand& src2) { 1352 void vcvtss2sd(XMMRegister dst, XMMRegister src1, const Operand& src2) {
1353 vsd(0x5a, dst, src1, src2, kF3, k0F, kWIG); 1353 vsd(0x5a, dst, src1, src2, kF3, k0F, kWIG);
1354 } 1354 }
1355 void vcvtlsi2sd(XMMRegister dst, XMMRegister src1, Register src2) { 1355 void vcvtlsi2sd(XMMRegister dst, XMMRegister src1, Register src2) {
1356 XMMRegister isrc2 = {src2.code()}; 1356 XMMRegister isrc2 = {src2.code()};
1357 vsd(0x2a, dst, src1, isrc2, kF2, k0F, kW0); 1357 vsd(0x2a, dst, src1, isrc2, kF2, k0F, kW0);
1358 } 1358 }
1359 void vcvtlsi2sd(XMMRegister dst, XMMRegister src1, const Operand& src2) { 1359 void vcvtlsi2sd(XMMRegister dst, XMMRegister src1, const Operand& src2) {
1360 vsd(0x2a, dst, src1, src2, kF2, k0F, kW0); 1360 vsd(0x2a, dst, src1, src2, kF2, k0F, kW0);
1361 } 1361 }
1362 void vcvtqsi2sd(XMMRegister dst, XMMRegister src1, Register src2) {
1363 XMMRegister isrc2 = {src2.code()};
1364 vsd(0x2a, dst, src1, isrc2, kF2, k0F, kW1);
1365 }
1362 void vcvttsd2si(Register dst, XMMRegister src) { 1366 void vcvttsd2si(Register dst, XMMRegister src) {
1363 XMMRegister idst = {dst.code()}; 1367 XMMRegister idst = {dst.code()};
1364 vsd(0x2c, idst, xmm0, src, kF2, k0F, kW0); 1368 vsd(0x2c, idst, xmm0, src, kF2, k0F, kW0);
1365 } 1369 }
1366 void vcvttsd2si(Register dst, const Operand& src) { 1370 void vcvttsd2si(Register dst, const Operand& src) {
1367 XMMRegister idst = {dst.code()}; 1371 XMMRegister idst = {dst.code()};
1368 vsd(0x2c, idst, xmm0, src, kF2, k0F, kW0); 1372 vsd(0x2c, idst, xmm0, src, kF2, k0F, kW0);
1369 } 1373 }
1370 void vcvttsd2siq(Register dst, XMMRegister src) { 1374 void vcvttsd2siq(Register dst, XMMRegister src) {
1371 XMMRegister idst = {dst.code()}; 1375 XMMRegister idst = {dst.code()};
(...skipping 778 matching lines...) Expand 10 before | Expand all | Expand 10 after
2150 Assembler* assembler_; 2154 Assembler* assembler_;
2151 #ifdef DEBUG 2155 #ifdef DEBUG
2152 int space_before_; 2156 int space_before_;
2153 #endif 2157 #endif
2154 }; 2158 };
2155 2159
2156 } // namespace internal 2160 } // namespace internal
2157 } // namespace v8 2161 } // namespace v8
2158 2162
2159 #endif // V8_X64_ASSEMBLER_X64_H_ 2163 #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