# simplify outline atomics · gitcafe/zig

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

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

Visibility: public

Requested revision: 95ee8ab77da6b76729beee6fc6ffccb07c9a2167

Requested commit: 95ee8ab77da6b76729beee6fc6ffccb07c9a2167

Commit: 95ee8ab77da6b76729beee6fc6ffccb07c9a2167

Tree: c8b3b3565a384701ac7951a5ebddd7b4dc56c1aa

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
simplify outline atomics

 * Rely on libSystem when targeting macOS.
 * Make tools/gen_outline_atomics.zig more idiomatic.
 * Remove the CPU detection / auxval checking from compiler_rt. This
   functionality belongs in a different component. Zig's compiler_rt
   must not rely on constructors. Instead it will export a symbol for
   setting the value, and start code can detect and activate it.
 * Remove the separate logic for inline assembly when the target does or
   does not have lse support. `.inst` works in both cases.

```

## Parents

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

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