cfallin commented on issue #1124:
@abrown can you check whether this is still an issue in the new backends? We should have better alignment at least of stack slots now, so any remaining
MOVUPScan probably becomeMOVAPS, but we should audit...
abrown commented on issue #1124:
So I saw you mention earlier that the constant pool is now aligned--can you point me to that?
abrown edited a comment on issue #1124:
So I saw you mention earlier that the constant pool is now aligned--can you point me to that? [edit: let me tag @cfallin so that it doesn't get lost in all the notification churn]
cfallin commented on issue #1124:
@abrown that happens due to the
alignmentmethod here I think: link. Then we pass that alignment to theMachBufferhere.
abrown closed issue #1124:
As @bnjbvr notes in https://github.com/CraneStation/cranelift/pull/992#discussion_r325065157, there are several different x86 opcodes for encoding the movement of SIMD values between registers and between registers and memory (e.g. MOVUPS, MOVAPS, MOVDQU, MOVUPD, etc.). For now, many CLIF instructions (e.g. regmove) use MOVUPS due to a need to get SIMD spec tests up and running to verify correctness. In the future, however, we need to determine the optimal x86 opcode and replace less optimal uses of MOVUPS.
Last updated: Dec 13 2025 at 19:03 UTC