Skip to content
Unverified Commit 8b43c1be authored by Simon Pilgrim's avatar Simon Pilgrim Committed by GitHub
Browse files

[X86] X86FixupVectorConstants - shrink vector load to movsd/movsd/movd/movq...

[X86] X86FixupVectorConstants - shrink vector load to movsd/movsd/movd/movq 'zero upper' instructions (#79000)

If we're loading a vector constant that is known to be zero in the upper elements, then attempt to shrink the constant and just scalar load the lower 32/64 bits.

Always chose the vzload/broadcast with the smallest constant load, and prefer vzload over broadcasts for same bitwidth to avoid domain flips (mainly a AVX1 issue).

Fixes #73783
parent 182ab1c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment