# stage2: change x86_64 max int alignment from 8 to 16 · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/f21c11a7f7fb84db4289a6f735dea012387606d6)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: f21c11a7f7fb84db4289a6f735dea012387606d6

Requested commit: f21c11a7f7fb84db4289a6f735dea012387606d6

Commit: f21c11a7f7fb84db4289a6f735dea012387606d6

Tree: 9d744e2487ded968fc2ff7003674fe1fe53fff09

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: change x86_64 max int alignment from 8 to 16

For x86_64, LLVMABIAlignmentOfType(i128) reports 8. However I think 16
is a better number for two reasons:
1. Better machine code when loading into SIMD register.
2. The C ABI wants 16 for extern structs.

```

## Parents

- [5b1c0d922c1061706ae1673333fcfb1d8fdd4602](https://git.cafe/gitcafe/zig/commit/5b1c0d922c1061706ae1673333fcfb1d8fdd4602?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/f21c11a7f7fb84db4289a6f735dea012387606d6?format=markdown)
