# stage1: fix f80 size and alignment on x86 and arm · gitcafe/zig

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

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

Visibility: public

Requested revision: 166db1a3ed7eca9b04b0626eaea8de0634ab9667

Requested commit: 166db1a3ed7eca9b04b0626eaea8de0634ab9667

Commit: 166db1a3ed7eca9b04b0626eaea8de0634ab9667

Tree: 958a97baa486eda299dc268a83f3e89fd9a81f63

Author: Andrew Kelley

Committer: Jakub Konka

## Message

```
stage1: fix f80 size and alignment on x86 and arm

 * F80Repr extern struct needs no explicit padding; let's match the
   target padding.
 * stage2: fix lowering of f80 constants.
 * stage1: decide ABI size and alignment of f80 based on alignment of
   u64. x86 has alignof u64 equal to 4 but arm has it as 8.
 * stage2: fix Value.floatReadFromMemory to use F80Repr

```

## Parents

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

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