Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for alignment of Int128/UInt128 #55565

Merged
merged 3 commits into from
Aug 24, 2024

Conversation

giordano
Copy link
Contributor

@vchuravy is this enough for test the alignment? Note: I tested this on aarch64 and x86_64, I'm not sure of the alignment value on powerpc64le, i686 or arm.

Fix #55558.

@giordano giordano added the test This change adds or pertains to unit tests label Aug 22, 2024
@giordano giordano requested a review from vchuravy August 22, 2024 13:29
@giordano giordano force-pushed the mg/test-alignment-int128 branch from 633b18f to bb8296e Compare August 22, 2024 14:36
@giordano giordano changed the title Add tests for alignment of Int128 Add tests for alignment of Int128/UInt128 Aug 22, 2024
@oscardssmith oscardssmith added the merge me PR is reviewed. Merge when all tests are passing label Aug 22, 2024
@Zentrik
Copy link
Member

Zentrik commented Aug 22, 2024

Int128 is currently 16 byte aligned on i686, but not for PowerPC or arm.

EDIT: Looks like PowerPC is supposed to be 16 byte aligned, llvm/llvm-project#102783, https://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi.html#FUND-TYPE.

@giordano
Copy link
Contributor Author

Uhm, this is indeed failing on powerpc: https://buildkite.com/julialang/julia-master/builds/39418#01917a85-4823-4170-a03b-72cde2879c46/840-1424. I'll mark the test as broken on that platform then.

@giordano giordano merged commit eaa2edd into JuliaLang:master Aug 24, 2024
7 checks passed
@giordano giordano deleted the mg/test-alignment-int128 branch August 24, 2024 06:47
@giordano giordano removed the merge me PR is reviewed. Merge when all tests are passing label Aug 24, 2024
KristofferC pushed a commit that referenced this pull request Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test This change adds or pertains to unit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tests about layout of Int128
3 participants