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

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

Issue 1409873002: [x64] Implement vmovd and vmovq AVX instructions. (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 1251 matching lines...) Expand 10 before | Expand all | Expand 10 after
1262 } 1262 }
1263 void vfnmsub213ss(XMMRegister dst, XMMRegister src1, const Operand& src2) { 1263 void vfnmsub213ss(XMMRegister dst, XMMRegister src1, const Operand& src2) {
1264 vfmass(0xaf, dst, src1, src2); 1264 vfmass(0xaf, dst, src1, src2);
1265 } 1265 }
1266 void vfnmsub231ss(XMMRegister dst, XMMRegister src1, const Operand& src2) { 1266 void vfnmsub231ss(XMMRegister dst, XMMRegister src1, const Operand& src2) {
1267 vfmass(0xbf, dst, src1, src2); 1267 vfmass(0xbf, dst, src1, src2);
1268 } 1268 }
1269 void vfmass(byte op, XMMRegister dst, XMMRegister src1, XMMRegister src2); 1269 void vfmass(byte op, XMMRegister dst, XMMRegister src1, XMMRegister src2);
1270 void vfmass(byte op, XMMRegister dst, XMMRegister src1, const Operand& src2); 1270 void vfmass(byte op, XMMRegister dst, XMMRegister src1, const Operand& src2);
1271 1271
1272 void vmovd(XMMRegister dst, Register src);
1273 void vmovd(XMMRegister dst, const Operand& src);
1274 void vmovd(Register dst, XMMRegister src);
1275 void vmovq(XMMRegister dst, Register src);
1276 void vmovq(XMMRegister dst, const Operand& src);
1277 void vmovq(Register dst, XMMRegister src);
1278
1272 void vmovapd(XMMRegister dst, XMMRegister src); 1279 void vmovapd(XMMRegister dst, XMMRegister src);
1273 void vmovsd(XMMRegister dst, const Operand& src) { 1280 void vmovsd(XMMRegister dst, const Operand& src) {
1274 vsd(0x10, dst, xmm0, src); 1281 vsd(0x10, dst, xmm0, src);
1275 } 1282 }
1276 void vmovsd(XMMRegister dst, XMMRegister src) { vsd(0x10, dst, xmm0, src); } 1283 void vmovsd(XMMRegister dst, XMMRegister src) { vsd(0x10, dst, xmm0, src); }
1277 void vmovsd(const Operand& dst, XMMRegister src) { 1284 void vmovsd(const Operand& dst, XMMRegister src) {
1278 vsd(0x11, src, xmm0, dst); 1285 vsd(0x11, src, xmm0, dst);
1279 } 1286 }
1280 void vaddsd(XMMRegister dst, XMMRegister src1, XMMRegister src2) { 1287 void vaddsd(XMMRegister dst, XMMRegister src1, XMMRegister src2) {
1281 vsd(0x58, dst, src1, src2); 1288 vsd(0x58, dst, src1, src2);
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after
2121 Assembler* assembler_; 2128 Assembler* assembler_;
2122 #ifdef DEBUG 2129 #ifdef DEBUG
2123 int space_before_; 2130 int space_before_;
2124 #endif 2131 #endif
2125 }; 2132 };
2126 2133
2127 } // namespace internal 2134 } // namespace internal
2128 } // namespace v8 2135 } // namespace v8
2129 2136
2130 #endif // V8_X64_ASSEMBLER_X64_H_ 2137 #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