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 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1087 void movsd(const Operand& dst, XMMRegister src); | 1087 void movsd(const Operand& dst, XMMRegister src); |
1088 void movsd(XMMRegister dst, const Operand& src); | 1088 void movsd(XMMRegister dst, const Operand& src); |
1089 | 1089 |
1090 void movdqa(const Operand& dst, XMMRegister src); | 1090 void movdqa(const Operand& dst, XMMRegister src); |
1091 void movdqa(XMMRegister dst, const Operand& src); | 1091 void movdqa(XMMRegister dst, const Operand& src); |
1092 | 1092 |
1093 void movdqu(const Operand& dst, XMMRegister src); | 1093 void movdqu(const Operand& dst, XMMRegister src); |
1094 void movdqu(XMMRegister dst, const Operand& src); | 1094 void movdqu(XMMRegister dst, const Operand& src); |
1095 | 1095 |
1096 void movapd(XMMRegister dst, XMMRegister src); | 1096 void movapd(XMMRegister dst, XMMRegister src); |
| 1097 void movupd(XMMRegister dst, const Operand& src); |
| 1098 void movupd(const Operand& dst, XMMRegister src); |
1097 | 1099 |
1098 void psllq(XMMRegister reg, byte imm8); | 1100 void psllq(XMMRegister reg, byte imm8); |
1099 void psrlq(XMMRegister reg, byte imm8); | 1101 void psrlq(XMMRegister reg, byte imm8); |
1100 void pslld(XMMRegister reg, byte imm8); | 1102 void pslld(XMMRegister reg, byte imm8); |
1101 void psrld(XMMRegister reg, byte imm8); | 1103 void psrld(XMMRegister reg, byte imm8); |
1102 | 1104 |
1103 void cvttsd2si(Register dst, const Operand& src); | 1105 void cvttsd2si(Register dst, const Operand& src); |
1104 void cvttsd2si(Register dst, XMMRegister src); | 1106 void cvttsd2si(Register dst, XMMRegister src); |
1105 void cvttss2siq(Register dst, XMMRegister src); | 1107 void cvttss2siq(Register dst, XMMRegister src); |
1106 void cvttss2siq(Register dst, const Operand& src); | 1108 void cvttss2siq(Register dst, const Operand& src); |
(...skipping 26 matching lines...) Expand all Loading... |
1133 void mulsd(XMMRegister dst, const Operand& src); | 1135 void mulsd(XMMRegister dst, const Operand& src); |
1134 void divsd(XMMRegister dst, XMMRegister src); | 1136 void divsd(XMMRegister dst, XMMRegister src); |
1135 void divsd(XMMRegister dst, const Operand& src); | 1137 void divsd(XMMRegister dst, const Operand& src); |
1136 | 1138 |
1137 void maxsd(XMMRegister dst, XMMRegister src); | 1139 void maxsd(XMMRegister dst, XMMRegister src); |
1138 void maxsd(XMMRegister dst, const Operand& src); | 1140 void maxsd(XMMRegister dst, const Operand& src); |
1139 void minsd(XMMRegister dst, XMMRegister src); | 1141 void minsd(XMMRegister dst, XMMRegister src); |
1140 void minsd(XMMRegister dst, const Operand& src); | 1142 void minsd(XMMRegister dst, const Operand& src); |
1141 | 1143 |
1142 void andpd(XMMRegister dst, XMMRegister src); | 1144 void andpd(XMMRegister dst, XMMRegister src); |
| 1145 void andpd(XMMRegister dst, const Operand& src); |
1143 void orpd(XMMRegister dst, XMMRegister src); | 1146 void orpd(XMMRegister dst, XMMRegister src); |
| 1147 void orpd(XMMRegister dst, const Operand& src); |
1144 void xorpd(XMMRegister dst, XMMRegister src); | 1148 void xorpd(XMMRegister dst, XMMRegister src); |
| 1149 void xorpd(XMMRegister dst, const Operand& src); |
1145 void sqrtsd(XMMRegister dst, XMMRegister src); | 1150 void sqrtsd(XMMRegister dst, XMMRegister src); |
1146 void sqrtsd(XMMRegister dst, const Operand& src); | 1151 void sqrtsd(XMMRegister dst, const Operand& src); |
1147 | 1152 |
1148 void ucomisd(XMMRegister dst, XMMRegister src); | 1153 void ucomisd(XMMRegister dst, XMMRegister src); |
1149 void ucomisd(XMMRegister dst, const Operand& src); | 1154 void ucomisd(XMMRegister dst, const Operand& src); |
1150 void cmpltsd(XMMRegister dst, XMMRegister src); | 1155 void cmpltsd(XMMRegister dst, XMMRegister src); |
1151 void pcmpeqd(XMMRegister dst, XMMRegister src); | 1156 void pcmpeqd(XMMRegister dst, XMMRegister src); |
1152 | 1157 |
1153 void movmskpd(Register dst, XMMRegister src); | 1158 void movmskpd(Register dst, XMMRegister src); |
1154 | 1159 |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1532 | 1537 |
1533 void vmovaps(XMMRegister dst, XMMRegister src) { vps(0x28, dst, xmm0, src); } | 1538 void vmovaps(XMMRegister dst, XMMRegister src) { vps(0x28, dst, xmm0, src); } |
1534 void vmovups(XMMRegister dst, XMMRegister src) { vps(0x10, dst, xmm0, src); } | 1539 void vmovups(XMMRegister dst, XMMRegister src) { vps(0x10, dst, xmm0, src); } |
1535 void vmovups(XMMRegister dst, const Operand& src) { | 1540 void vmovups(XMMRegister dst, const Operand& src) { |
1536 vps(0x10, dst, xmm0, src); | 1541 vps(0x10, dst, xmm0, src); |
1537 } | 1542 } |
1538 void vmovups(const Operand& dst, XMMRegister src) { | 1543 void vmovups(const Operand& dst, XMMRegister src) { |
1539 vps(0x11, src, xmm0, dst); | 1544 vps(0x11, src, xmm0, dst); |
1540 } | 1545 } |
1541 void vmovapd(XMMRegister dst, XMMRegister src) { vpd(0x28, dst, xmm0, src); } | 1546 void vmovapd(XMMRegister dst, XMMRegister src) { vpd(0x28, dst, xmm0, src); } |
| 1547 void vmovupd(XMMRegister dst, const Operand& src) { |
| 1548 vpd(0x10, dst, xmm0, src); |
| 1549 } |
| 1550 void vmovupd(const Operand& dst, XMMRegister src) { |
| 1551 vpd(0x11, src, xmm0, dst); |
| 1552 } |
1542 void vmovmskpd(Register dst, XMMRegister src) { | 1553 void vmovmskpd(Register dst, XMMRegister src) { |
1543 XMMRegister idst = {dst.code()}; | 1554 XMMRegister idst = {dst.code()}; |
1544 vpd(0x50, idst, xmm0, src); | 1555 vpd(0x50, idst, xmm0, src); |
1545 } | 1556 } |
1546 | 1557 |
1547 void vps(byte op, XMMRegister dst, XMMRegister src1, XMMRegister src2); | 1558 void vps(byte op, XMMRegister dst, XMMRegister src1, XMMRegister src2); |
1548 void vps(byte op, XMMRegister dst, XMMRegister src1, const Operand& src2); | 1559 void vps(byte op, XMMRegister dst, XMMRegister src1, const Operand& src2); |
1549 void vpd(byte op, XMMRegister dst, XMMRegister src1, XMMRegister src2); | 1560 void vpd(byte op, XMMRegister dst, XMMRegister src1, XMMRegister src2); |
1550 void vpd(byte op, XMMRegister dst, XMMRegister src1, const Operand& src2); | 1561 void vpd(byte op, XMMRegister dst, XMMRegister src1, const Operand& src2); |
1551 | 1562 |
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2278 Assembler* assembler_; | 2289 Assembler* assembler_; |
2279 #ifdef DEBUG | 2290 #ifdef DEBUG |
2280 int space_before_; | 2291 int space_before_; |
2281 #endif | 2292 #endif |
2282 }; | 2293 }; |
2283 | 2294 |
2284 } // namespace internal | 2295 } // namespace internal |
2285 } // namespace v8 | 2296 } // namespace v8 |
2286 | 2297 |
2287 #endif // V8_X64_ASSEMBLER_X64_H_ | 2298 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |