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 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1147 void sqrtsd(XMMRegister dst, const Operand& src); | 1147 void sqrtsd(XMMRegister dst, const Operand& src); |
1148 | 1148 |
1149 void ucomisd(XMMRegister dst, XMMRegister src); | 1149 void ucomisd(XMMRegister dst, XMMRegister src); |
1150 void ucomisd(XMMRegister dst, const Operand& src); | 1150 void ucomisd(XMMRegister dst, const Operand& src); |
1151 void cmpltsd(XMMRegister dst, XMMRegister src); | 1151 void cmpltsd(XMMRegister dst, XMMRegister src); |
1152 void pcmpeqd(XMMRegister dst, XMMRegister src); | 1152 void pcmpeqd(XMMRegister dst, XMMRegister src); |
1153 | 1153 |
1154 void movmskpd(Register dst, XMMRegister src); | 1154 void movmskpd(Register dst, XMMRegister src); |
1155 | 1155 |
1156 void punpckldq(XMMRegister dst, XMMRegister src); | 1156 void punpckldq(XMMRegister dst, XMMRegister src); |
| 1157 void punpckldq(XMMRegister dst, const Operand& src); |
1157 void punpckhdq(XMMRegister dst, XMMRegister src); | 1158 void punpckhdq(XMMRegister dst, XMMRegister src); |
1158 | 1159 |
1159 // SSE 4.1 instruction | 1160 // SSE 4.1 instruction |
1160 void insertps(XMMRegister dst, XMMRegister src, byte imm8); | 1161 void insertps(XMMRegister dst, XMMRegister src, byte imm8); |
1161 void extractps(Register dst, XMMRegister src, byte imm8); | 1162 void extractps(Register dst, XMMRegister src, byte imm8); |
1162 void pextrd(Register dst, XMMRegister src, int8_t imm8); | 1163 void pextrd(Register dst, XMMRegister src, int8_t imm8); |
1163 void pinsrd(XMMRegister dst, Register src, int8_t imm8); | 1164 void pinsrd(XMMRegister dst, Register src, int8_t imm8); |
1164 void pinsrd(XMMRegister dst, const Operand& src, int8_t imm8); | 1165 void pinsrd(XMMRegister dst, const Operand& src, int8_t imm8); |
1165 | 1166 |
1166 void roundss(XMMRegister dst, XMMRegister src, RoundingMode mode); | 1167 void roundss(XMMRegister dst, XMMRegister src, RoundingMode mode); |
(...skipping 21 matching lines...) Expand all Loading... |
1188 void movups(XMMRegister dst, const Operand& src); | 1189 void movups(XMMRegister dst, const Operand& src); |
1189 void movups(const Operand& dst, XMMRegister src); | 1190 void movups(const Operand& dst, XMMRegister src); |
1190 void paddd(XMMRegister dst, XMMRegister src); | 1191 void paddd(XMMRegister dst, XMMRegister src); |
1191 void paddd(XMMRegister dst, const Operand& src); | 1192 void paddd(XMMRegister dst, const Operand& src); |
1192 void psubd(XMMRegister dst, XMMRegister src); | 1193 void psubd(XMMRegister dst, XMMRegister src); |
1193 void psubd(XMMRegister dst, const Operand& src); | 1194 void psubd(XMMRegister dst, const Operand& src); |
1194 void pmulld(XMMRegister dst, XMMRegister src); | 1195 void pmulld(XMMRegister dst, XMMRegister src); |
1195 void pmulld(XMMRegister dst, const Operand& src); | 1196 void pmulld(XMMRegister dst, const Operand& src); |
1196 void pmuludq(XMMRegister dst, XMMRegister src); | 1197 void pmuludq(XMMRegister dst, XMMRegister src); |
1197 void pmuludq(XMMRegister dst, const Operand& src); | 1198 void pmuludq(XMMRegister dst, const Operand& src); |
1198 void punpackldq(XMMRegister dst, XMMRegister src); | |
1199 void punpackldq(XMMRegister dst, const Operand& src); | |
1200 void psrldq(XMMRegister dst, uint8_t shift); | 1199 void psrldq(XMMRegister dst, uint8_t shift); |
1201 void pshufd(XMMRegister dst, XMMRegister src, uint8_t shuffle); | 1200 void pshufd(XMMRegister dst, XMMRegister src, uint8_t shuffle); |
1202 void cvtps2dq(XMMRegister dst, XMMRegister src); | 1201 void cvtps2dq(XMMRegister dst, XMMRegister src); |
1203 void cvtps2dq(XMMRegister dst, const Operand& src); | 1202 void cvtps2dq(XMMRegister dst, const Operand& src); |
1204 void cvtdq2ps(XMMRegister dst, XMMRegister src); | 1203 void cvtdq2ps(XMMRegister dst, XMMRegister src); |
1205 void cvtdq2ps(XMMRegister dst, const Operand& src); | 1204 void cvtdq2ps(XMMRegister dst, const Operand& src); |
1206 | 1205 |
1207 // AVX instruction | 1206 // AVX instruction |
1208 void vfmadd132sd(XMMRegister dst, XMMRegister src1, XMMRegister src2) { | 1207 void vfmadd132sd(XMMRegister dst, XMMRegister src1, XMMRegister src2) { |
1209 vfmasd(0x99, dst, src1, src2); | 1208 vfmasd(0x99, dst, src1, src2); |
(...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2280 Assembler* assembler_; | 2279 Assembler* assembler_; |
2281 #ifdef DEBUG | 2280 #ifdef DEBUG |
2282 int space_before_; | 2281 int space_before_; |
2283 #endif | 2282 #endif |
2284 }; | 2283 }; |
2285 | 2284 |
2286 } // namespace internal | 2285 } // namespace internal |
2287 } // namespace v8 | 2286 } // namespace v8 |
2288 | 2287 |
2289 #endif // V8_X64_ASSEMBLER_X64_H_ | 2288 #endif // V8_X64_ASSEMBLER_X64_H_ |
OLD | NEW |