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 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1019 | 1019 |
1020 void cmpltsd(XMMRegister dst, XMMRegister src); | 1020 void cmpltsd(XMMRegister dst, XMMRegister src); |
1021 void pcmpeqd(XMMRegister dst, XMMRegister src); | 1021 void pcmpeqd(XMMRegister dst, XMMRegister src); |
1022 | 1022 |
1023 void movaps(XMMRegister dst, XMMRegister src); | 1023 void movaps(XMMRegister dst, XMMRegister src); |
1024 | 1024 |
1025 void movdqa(XMMRegister dst, const Operand& src); | 1025 void movdqa(XMMRegister dst, const Operand& src); |
1026 void movdqa(const Operand& dst, XMMRegister src); | 1026 void movdqa(const Operand& dst, XMMRegister src); |
1027 void movdqu(XMMRegister dst, const Operand& src); | 1027 void movdqu(XMMRegister dst, const Operand& src); |
1028 void movdqu(const Operand& dst, XMMRegister src); | 1028 void movdqu(const Operand& dst, XMMRegister src); |
| 1029 void movdq(bool aligned, XMMRegister dst, const Operand& src) { |
| 1030 if (aligned) { |
| 1031 movdqa(dst, src); |
| 1032 } else { |
| 1033 movdqu(dst, src); |
| 1034 } |
| 1035 } |
1029 | 1036 |
1030 // Use either movsd or movlpd. | 1037 // Use either movsd or movlpd. |
1031 void movdbl(XMMRegister dst, const Operand& src); | 1038 void movdbl(XMMRegister dst, const Operand& src); |
1032 void movdbl(const Operand& dst, XMMRegister src); | 1039 void movdbl(const Operand& dst, XMMRegister src); |
1033 | 1040 |
1034 void movd(XMMRegister dst, Register src) { movd(dst, Operand(src)); } | 1041 void movd(XMMRegister dst, Register src) { movd(dst, Operand(src)); } |
1035 void movd(XMMRegister dst, const Operand& src); | 1042 void movd(XMMRegister dst, const Operand& src); |
1036 void movd(Register dst, XMMRegister src) { movd(Operand(dst), src); } | 1043 void movd(Register dst, XMMRegister src) { movd(Operand(dst), src); } |
1037 void movd(const Operand& dst, XMMRegister src); | 1044 void movd(const Operand& dst, XMMRegister src); |
1038 void movsd(XMMRegister dst, XMMRegister src); | 1045 void movsd(XMMRegister dst, XMMRegister src); |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1208 private: | 1215 private: |
1209 Assembler* assembler_; | 1216 Assembler* assembler_; |
1210 #ifdef DEBUG | 1217 #ifdef DEBUG |
1211 int space_before_; | 1218 int space_before_; |
1212 #endif | 1219 #endif |
1213 }; | 1220 }; |
1214 | 1221 |
1215 } } // namespace v8::internal | 1222 } } // namespace v8::internal |
1216 | 1223 |
1217 #endif // V8_IA32_ASSEMBLER_IA32_H_ | 1224 #endif // V8_IA32_ASSEMBLER_IA32_H_ |
OLD | NEW |