Skip to content

LATX, AVX: write packed conversions directly to the destination - #448

Open
luzeng87 wants to merge 1 commit into
lat-opensource:masterfrom
luzeng87:avx-conversion-destination
Open

LATX, AVX: write packed conversions directly to the destination#448
luzeng87 wants to merge 1 commit into
lat-opensource:masterfrom
luzeng87:avx-conversion-destination

Conversation

@luzeng87

@luzeng87 luzeng87 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • write VCVTPS2DQ and VCVTTPS2DQ results directly into the destination vector register
  • preserve source values when source and destination alias by scheduling the comparison before conversion
  • remove one temporary vector and the final copy

Validation

  • clean 3A6000 build: passed
  • aliasing and distinct-register cases: passed
  • all MXCSR rounding modes, NaN, and overflow cases: passed
  • JIT, cold AOT, and hot AOT: passed with a non-empty AOT file
  • git diff --check: passed

Signed-off-by: Lu Zeng <luzeng87@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant