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

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

Issue 2252863003: [turbofan] Add Float32(Max|Min) machine operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Type is number now. Created 4 years, 3 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/wasm/wasm-interpreter.cc ('k') | src/x64/disasm-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 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after
1559 void vmovups(const Operand& dst, XMMRegister src) { 1559 void vmovups(const Operand& dst, XMMRegister src) {
1560 vps(0x11, src, xmm0, dst); 1560 vps(0x11, src, xmm0, dst);
1561 } 1561 }
1562 void vmovapd(XMMRegister dst, XMMRegister src) { vpd(0x28, dst, xmm0, src); } 1562 void vmovapd(XMMRegister dst, XMMRegister src) { vpd(0x28, dst, xmm0, src); }
1563 void vmovupd(XMMRegister dst, const Operand& src) { 1563 void vmovupd(XMMRegister dst, const Operand& src) {
1564 vpd(0x10, dst, xmm0, src); 1564 vpd(0x10, dst, xmm0, src);
1565 } 1565 }
1566 void vmovupd(const Operand& dst, XMMRegister src) { 1566 void vmovupd(const Operand& dst, XMMRegister src) {
1567 vpd(0x11, src, xmm0, dst); 1567 vpd(0x11, src, xmm0, dst);
1568 } 1568 }
1569 void vmovmskps(Register dst, XMMRegister src) {
1570 XMMRegister idst = {dst.code()};
1571 vps(0x50, idst, xmm0, src);
1572 }
1569 void vmovmskpd(Register dst, XMMRegister src) { 1573 void vmovmskpd(Register dst, XMMRegister src) {
1570 XMMRegister idst = {dst.code()}; 1574 XMMRegister idst = {dst.code()};
1571 vpd(0x50, idst, xmm0, src); 1575 vpd(0x50, idst, xmm0, src);
1572 } 1576 }
1573 void vcmpps(XMMRegister dst, XMMRegister src1, XMMRegister src2, int8_t cmp) { 1577 void vcmpps(XMMRegister dst, XMMRegister src1, XMMRegister src2, int8_t cmp) {
1574 vps(0xC2, dst, src1, src2); 1578 vps(0xC2, dst, src1, src2);
1575 emit(cmp); 1579 emit(cmp);
1576 } 1580 }
1577 void vcmpps(XMMRegister dst, XMMRegister src1, const Operand& src2, 1581 void vcmpps(XMMRegister dst, XMMRegister src1, const Operand& src2,
1578 int8_t cmp) { 1582 int8_t cmp) {
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
2346 Assembler* assembler_; 2350 Assembler* assembler_;
2347 #ifdef DEBUG 2351 #ifdef DEBUG
2348 int space_before_; 2352 int space_before_;
2349 #endif 2353 #endif
2350 }; 2354 };
2351 2355
2352 } // namespace internal 2356 } // namespace internal
2353 } // namespace v8 2357 } // namespace v8
2354 2358
2355 #endif // V8_X64_ASSEMBLER_X64_H_ 2359 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/wasm/wasm-interpreter.cc ('k') | src/x64/disasm-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698