Skip to content

LATX: fold RIP-relative displacement into JIT loads - #453

Closed
luzeng87 wants to merge 1 commit into
lat-opensource:masterfrom
luzeng87:rip-relative-load-offset
Closed

LATX: fold RIP-relative displacement into JIT loads#453
luzeng87 wants to merge 1 commit into
lat-opensource:masterfrom
luzeng87:rip-relative-load-offset

Conversation

@luzeng87

@luzeng87 luzeng87 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • split the low signed 12 bits from a RIP-relative guest address during JIT translation
  • keep the aligned base in the address materialization sequence and return the low part as the host load/store displacement
  • retain the original relocation form during AOT pre-translation

Validation

  • clean 3A6000 build: passed
  • AVX conversion, packing, rounded multiply, shuffle, extract/insert, and broadcast instruction tests: passed
  • JIT, cold AOT, and hot AOT: passed with non-empty AOT files
  • git diff --check: passed

Signed-off-by: Lu Zeng <luzeng87@gmail.com>
@luzeng87
luzeng87 marked this pull request as draft September 3, 2026 03:07
@luzeng87

luzeng87 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by grouped IR2 and JIT simplification PR #452. The RIP-relative displacement change remains a separate commit there.

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