Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Jit64: Prefer MOVAPS where possible #8027
Prefer MOVAPS to MOVAPD
There is no reason to use MOVAPD over MOVAPS:
Prefer MOVAPS to MOVSD (where possible)
In cases where the high half of the destination is immediately overwritten, MOVSD has no benefit over MOVAPS:
Regarding MOVAPD->MOVAPS, I remember considering this and deciding against it on the basis that it would make the source code even less readable. Have you considered changing the emitter instead? That would also be a good place to put a comment with an explanation.