Commit eaaff1ad authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[macro-assembler] Remove unused Movupd.

R=jarin@chromium.org,bmeurer@chromium.org

Bug: 
Change-Id: Id22b6890723d0366e6f3db0bdbad40660f524b59
Reviewed-on: https://chromium-review.googlesource.com/558070Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46405}
parent 381e6671
......@@ -2637,24 +2637,6 @@ void MacroAssembler::Movapd(XMMRegister dst, XMMRegister src) {
}
}
void MacroAssembler::Movupd(XMMRegister dst, const Operand& src) {
if (CpuFeatures::IsSupported(AVX)) {
CpuFeatureScope scope(this, AVX);
vmovupd(dst, src);
} else {
movupd(dst, src);
}
}
void MacroAssembler::Movupd(const Operand& dst, XMMRegister src) {
if (CpuFeatures::IsSupported(AVX)) {
CpuFeatureScope scope(this, AVX);
vmovupd(dst, src);
} else {
movupd(dst, src);
}
}
void MacroAssembler::Movsd(XMMRegister dst, XMMRegister src) {
if (CpuFeatures::IsSupported(AVX)) {
CpuFeatureScope scope(this, AVX);
......
......@@ -962,8 +962,6 @@ class MacroAssembler: public Assembler {
void Movups(const Operand& dst, XMMRegister src);
void Movmskps(Register dst, XMMRegister src);
void Movapd(XMMRegister dst, XMMRegister src);
void Movupd(XMMRegister dst, const Operand& src);
void Movupd(const Operand& dst, XMMRegister src);
void Movmskpd(Register dst, XMMRegister src);
void Xorps(XMMRegister dst, XMMRegister src);
......
......@@ -2829,10 +2829,10 @@ void TestFloat64x2Abs(MacroAssembler* masm, Label* exit, double x, double y) {
__ Movsd(Operand(rsp, 0 * kDoubleSize), xmm1);
__ Move(xmm2, y);
__ Movsd(Operand(rsp, 1 * kDoubleSize), xmm2);
__ Movupd(xmm0, Operand(rsp, 0));
__ movupd(xmm0, Operand(rsp, 0));
__ Abspd(xmm0);
__ Movupd(Operand(rsp, 0), xmm0);
__ movupd(Operand(rsp, 0), xmm0);
__ incq(rax);
__ Move(xmm1, fabs(x));
......@@ -2853,10 +2853,10 @@ void TestFloat64x2Neg(MacroAssembler* masm, Label* exit, double x, double y) {
__ Movsd(Operand(rsp, 0 * kDoubleSize), xmm1);
__ Move(xmm2, y);
__ Movsd(Operand(rsp, 1 * kDoubleSize), xmm2);
__ Movupd(xmm0, Operand(rsp, 0));
__ movupd(xmm0, Operand(rsp, 0));
__ Negpd(xmm0);
__ Movupd(Operand(rsp, 0), xmm0);
__ movupd(Operand(rsp, 0), xmm0);
__ incq(rax);
__ Move(xmm1, -x);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment