Index: src/ia32/assembler-ia32.h |
diff --git a/src/ia32/assembler-ia32.h b/src/ia32/assembler-ia32.h |
index a82b517cf1d7bd6d0df272864b89868c22b96758..ed7b71f922faa9a20a810e1ad293e5cbe7166b2d 100644 |
--- a/src/ia32/assembler-ia32.h |
+++ b/src/ia32/assembler-ia32.h |
@@ -1019,12 +1019,30 @@ class Assembler : public AssemblerBase { |
void cpuid(); |
// SSE instructions |
- void andps(XMMRegister dst, XMMRegister src); |
- void xorps(XMMRegister dst, XMMRegister src); |
- void orps(XMMRegister dst, XMMRegister src); |
+ void movaps(XMMRegister dst, XMMRegister src); |
+ void shufps(XMMRegister dst, XMMRegister src, byte imm8); |
+ |
+ void andps(XMMRegister dst, const Operand& src); |
+ void andps(XMMRegister dst, XMMRegister src) { andps(dst, Operand(src)); } |
+ void xorps(XMMRegister dst, const Operand& src); |
+ void xorps(XMMRegister dst, XMMRegister src) { xorps(dst, Operand(src)); } |
+ void orps(XMMRegister dst, const Operand& src); |
+ void orps(XMMRegister dst, XMMRegister src) { orps(dst, Operand(src)); } |
+ |
+ void addps(XMMRegister dst, const Operand& src); |
+ void addps(XMMRegister dst, XMMRegister src) { addps(dst, Operand(src)); } |
+ void subps(XMMRegister dst, const Operand& src); |
+ void subps(XMMRegister dst, XMMRegister src) { subps(dst, Operand(src)); } |
+ void mulps(XMMRegister dst, const Operand& src); |
+ void mulps(XMMRegister dst, XMMRegister src) { mulps(dst, Operand(src)); } |
+ void divps(XMMRegister dst, const Operand& src); |
+ void divps(XMMRegister dst, XMMRegister src) { divps(dst, Operand(src)); } |
// SSE2 instructions |
void cvttss2si(Register dst, const Operand& src); |
+ void cvttss2si(Register dst, XMMRegister src) { |
+ cvttss2si(dst, Operand(src)); |
+ } |
void cvttsd2si(Register dst, const Operand& src); |
void cvtsd2si(Register dst, XMMRegister src); |
@@ -1045,7 +1063,7 @@ class Assembler : public AssemblerBase { |
void andpd(XMMRegister dst, XMMRegister src); |
void orpd(XMMRegister dst, XMMRegister src); |
- void ucomisd(XMMRegister dst, XMMRegister src); |
+ void ucomisd(XMMRegister dst, XMMRegister src) { ucomisd(dst, Operand(src)); } |
void ucomisd(XMMRegister dst, const Operand& src); |
enum RoundingMode { |
@@ -1063,8 +1081,6 @@ class Assembler : public AssemblerBase { |
void cmpltsd(XMMRegister dst, XMMRegister src); |
void pcmpeqd(XMMRegister dst, XMMRegister src); |
- void movaps(XMMRegister dst, XMMRegister src); |
- |
void movdqa(XMMRegister dst, const Operand& src); |
void movdqa(const Operand& dst, XMMRegister src); |
void movdqu(XMMRegister dst, const Operand& src); |
@@ -1081,14 +1097,14 @@ class Assembler : public AssemblerBase { |
void movd(XMMRegister dst, const Operand& src); |
void movd(Register dst, XMMRegister src) { movd(Operand(dst), src); } |
void movd(const Operand& dst, XMMRegister src); |
- void movsd(XMMRegister dst, XMMRegister src); |
+ void movsd(XMMRegister dst, XMMRegister src) { movsd(dst, Operand(src)); } |
void movsd(XMMRegister dst, const Operand& src); |
void movsd(const Operand& dst, XMMRegister src); |
void movss(XMMRegister dst, const Operand& src); |
void movss(const Operand& dst, XMMRegister src); |
- void movss(XMMRegister dst, XMMRegister src); |
+ void movss(XMMRegister dst, XMMRegister src) { movss(dst, Operand(src)); } |
void extractps(Register dst, XMMRegister src, byte imm8); |
void pand(XMMRegister dst, XMMRegister src); |