# stage1: Add architecture-specific clobbers to asm\(\) · gitcafe/zig

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

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

Visibility: public

Requested revision: bef140c0a2710f77a4ee0e432ce2dbecf690461c

Requested commit: bef140c0a2710f77a4ee0e432ce2dbecf690461c

Commit: bef140c0a2710f77a4ee0e432ce2dbecf690461c

Tree: 7f9a93bca0bd620cb51456afce65e6a914d5050c

Author: LemonBoy

Committer: Veikka Tuominen

## Message

```
stage1: Add architecture-specific clobbers to asm()

We're basically following Clang's lead, add the necessary clobbers to
minimize the risk of generating wrong code.

```

## Parents

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

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