# std.zig.system.x86: Synchronize CPUID/XGETBV checks with LLVM 19\. · gitcafe/zig

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

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

Visibility: public

Requested revision: 7289a073e57b5a35ec632ca72a4ffd0809b29333

Requested commit: 7289a073e57b5a35ec632ca72a4ffd0809b29333

Commit: 7289a073e57b5a35ec632ca72a4ffd0809b29333

Tree: 75faf9d16679ff66106921bb81f65b20a16ed8bd

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
std.zig.system.x86: Synchronize CPUID/XGETBV checks with LLVM 19.

Also fix a bunch of cases where we didn't toggle features off if the relevant
leaf isn't available, and switch XCR0 checks to a packed struct.

Closes #23385.

```

## Parents

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

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