Skip to content

Fix misaligned allocations on PPC64 - #357

Merged
SChernykh merged 1 commit into
tevador:masterfrom
thomasbuilds:fix-ppc64-aligned-alloc
Oct 16, 2026
Merged

SChernykh merged 1 commit into
tevador:masterfrom
thomasbuilds:fix-ppc64-aligned-alloc

Conversation

@thomasbuilds

Copy link
Copy Markdown
Contributor

On PPC64 with VSX, rx_aligned_alloc is still plain malloc and ignores the requested 64-byte alignment, so the VMs, which have alignas(64) members, and the cache, dataset and scratchpad (without large pages) are only guaranteed 16-byte alignment. This uses the same posix_memalign code that #355 enabled in the portable fallback.

@SChernykh
SChernykh merged commit 91eff3f into tevador:master Oct 16, 2026
8 of 18 checks passed
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.

2 participants