Skip to content

Fix the Target::pointer_width value on x32 and ilp32 targets.#98

Merged
fitzgen merged 1 commit intomainfrom
sunfishcode/x32-abi
Jan 2, 2024
Merged

Fix the Target::pointer_width value on x32 and ilp32 targets.#98
fitzgen merged 1 commit intomainfrom
sunfishcode/x32-abi

Conversation

@sunfishcode
Copy link
Member

x32 and ilp32 are ABI variants on x86_64 and aarch64 platforms where pointers have 32-bit, even though the CPU architectures are 64-bit. Fix target-lexicon to correctly report the pointer width for these.

Fixes #97.

x32 and ilp32 are ABI variants on x86_64 and aarch64 platforms where
pointers have 32-bit, even though the CPU architectures are 64-bit.
Fix target-lexicon to correctly report the pointer width for these.

Fixes #97.
@fitzgen fitzgen merged commit 1a07f11 into main Jan 2, 2024
@sunfishcode sunfishcode deleted the sunfishcode/x32-abi branch January 2, 2024 19:42
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.

Return correct pointer width for the x32 abi

2 participants