OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |