From f3d0eb77572babfb95ac9837582fdcac6971c285 Mon Sep 17 00:00:00 2001 From: Fei Peng Date: Fri, 13 Apr 2018 16:05:58 -0700 Subject: [PATCH] Fix extra register-dependency on mem-form cvtsd/s2ss --- src/jit/emitxarch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jit/emitxarch.cpp b/src/jit/emitxarch.cpp index cb79bf3..3d6342e 100644 --- a/src/jit/emitxarch.cpp +++ b/src/jit/emitxarch.cpp @@ -95,6 +95,8 @@ bool emitter::IsDstDstSrcAVXInstruction(instruction ins) case INS_cmpss: case INS_cvtsi2sd: case INS_cvtsi2ss: + case INS_cvtsd2ss: + case INS_cvtss2sd: case INS_divpd: case INS_divps: case INS_divsd: @@ -251,8 +253,6 @@ bool emitter::IsDstSrcSrcAVXInstruction(instruction ins) { switch (ins) { - case INS_cvtsd2ss: - case INS_cvtss2sd: case INS_movhpd: case INS_movhps: case INS_movlpd: -- 2.7.4