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

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

Issue 60093005: Introduce addps/subps/mulps/divps for IA32/X64 (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Put all SSE1 instruction after SSE2 flag Created 7 years, 1 month 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/ia32/disasm-ia32.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 1333 matching lines...) Expand 10 before | Expand all | Expand 10 after
1344 void fninit(); 1344 void fninit();
1345 1345
1346 void frndint(); 1346 void frndint();
1347 1347
1348 void sahf(); 1348 void sahf();
1349 1349
1350 // SSE instructions 1350 // SSE instructions
1351 void movaps(XMMRegister dst, XMMRegister src); 1351 void movaps(XMMRegister dst, XMMRegister src);
1352 void movss(XMMRegister dst, const Operand& src); 1352 void movss(XMMRegister dst, const Operand& src);
1353 void movss(const Operand& dst, XMMRegister src); 1353 void movss(const Operand& dst, XMMRegister src);
1354 void shufps(XMMRegister dst, XMMRegister src, byte imm8);
1354 1355
1355 void cvttss2si(Register dst, const Operand& src); 1356 void cvttss2si(Register dst, const Operand& src);
1356 void cvttss2si(Register dst, XMMRegister src); 1357 void cvttss2si(Register dst, XMMRegister src);
1357 void cvtlsi2ss(XMMRegister dst, Register src); 1358 void cvtlsi2ss(XMMRegister dst, Register src);
1358 1359
1359 void andps(XMMRegister dst, XMMRegister src); 1360 void andps(XMMRegister dst, XMMRegister src);
1361 void andps(XMMRegister dst, const Operand& src);
1360 void orps(XMMRegister dst, XMMRegister src); 1362 void orps(XMMRegister dst, XMMRegister src);
1363 void orps(XMMRegister dst, const Operand& src);
1361 void xorps(XMMRegister dst, XMMRegister src); 1364 void xorps(XMMRegister dst, XMMRegister src);
1365 void xorps(XMMRegister dst, const Operand& src);
1366
1367 void addps(XMMRegister dst, XMMRegister src);
1368 void addps(XMMRegister dst, const Operand& src);
1369 void subps(XMMRegister dst, XMMRegister src);
1370 void subps(XMMRegister dst, const Operand& src);
1371 void mulps(XMMRegister dst, XMMRegister src);
1372 void mulps(XMMRegister dst, const Operand& src);
1373 void divps(XMMRegister dst, XMMRegister src);
1374 void divps(XMMRegister dst, const Operand& src);
1362 1375
1363 void movmskps(Register dst, XMMRegister src); 1376 void movmskps(Register dst, XMMRegister src);
1364 1377
1365 // SSE2 instructions 1378 // SSE2 instructions
1366 void movd(XMMRegister dst, Register src); 1379 void movd(XMMRegister dst, Register src);
1367 void movd(Register dst, XMMRegister src); 1380 void movd(Register dst, XMMRegister src);
1368 void movq(XMMRegister dst, Register src); 1381 void movq(XMMRegister dst, Register src);
1369 void movq(Register dst, XMMRegister src); 1382 void movq(Register dst, XMMRegister src);
1370 void movq(XMMRegister dst, XMMRegister src); 1383 void movq(XMMRegister dst, XMMRegister src);
1371 1384
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
1706 private: 1719 private:
1707 Assembler* assembler_; 1720 Assembler* assembler_;
1708 #ifdef DEBUG 1721 #ifdef DEBUG
1709 int space_before_; 1722 int space_before_;
1710 #endif 1723 #endif
1711 }; 1724 };
1712 1725
1713 } } // namespace v8::internal 1726 } } // namespace v8::internal
1714 1727
1715 #endif // V8_X64_ASSEMBLER_X64_H_ 1728 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/disasm-ia32.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698