# std.Target: adjustments to LoongArch CPU models · gitcafe/zig

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

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

Visibility: public

Requested revision: 5e9e1fb0c85eacd412cb6cf4df14adc39f4c008a

Requested commit: 5e9e1fb0c85eacd412cb6cf4df14adc39f4c008a

Commit: 5e9e1fb0c85eacd412cb6cf4df14adc39f4c008a

Tree: 6e8682d6f3571d5e7091561f3bf2389776af2e10

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
std.Target: adjustments to LoongArch CPU models

* Remove the generic model; we already have generic_la32 and generic_la64 and
  pick appropriately based on bitness.
* Remove the loongarch64 model. We used this as our baseline for 64-bit, but it's
  actually pretty misleading and useless; it doesn't represent any real CPU and
  has less features than generic_la64.
* Add la64v1_0 and la64v1_1 models.
* Change our baseline CPU model for 64-bit to be la64v1_0, thus adding LSX to
  the baseline feature set.

```

## Parents

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

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