[RyuJIT] Fix VEX.vvvv for cvtss2sd and cvtsd2ss#14274
Conversation
|
@CarolEidt @BruceForstall PTAL |
|
In looking at these a bit more (wondering why your previous change that included cvtsi2sd and cvtsi2ss in the DstSrcSrc category wasn't correct), it seems to me that only cvtss2si should remain in the DstDstSrc, and that cvtss2sd should be also moved to DstSrcSrc, as it has a 3-operand form that merges. Am I missing something? |
|
@CarolEidt These two instructions were omitted in the previous PR. vcvtss2sd xmm0, xmm0, xmm1 ;;; depends on xmm0 and xmm1
vcvtss2sd xmm0, xmm1, xmm1 ;;; depends on xmm1 only |
|
@fiigii - thanks! I knew there was something I was missing there. |
Instruction
cvtss2sdandcvtsd2sshas similar issue to #14225, whichvcvtsd2ss xmm0, xmm1, xmm1has less register dependency thanvcvtsd2ss xmm0, xmm0, xmm1.