# introduce tools/update_cpu_features.zig · gitcafe/zig

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

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

Visibility: public

Requested revision: 2733ca91b29cf9f0f26305635602fe4087f1a677

Requested commit: 2733ca91b29cf9f0f26305635602fe4087f1a677

Commit: 2733ca91b29cf9f0f26305635602fe4087f1a677

Tree: 56b7955c9a79a216462ca4ae9a3f12a69c1919dc

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
introduce tools/update_cpu_features.zig

This replaces the previous target cpu features tool, taking advantage of
llvm-tblgen --dump-json instead of trying to use python to parse the .td
files.

This is an initial version that has the basics working, including a
simple feature override system, as well as multi-threaded processing.

Follow-up commits will do clean ups to make the diff of the newly generated
source files against previous versions be as desired.

```

## Parents

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

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