# simd: correct suggestVectorLength · gitcafe/zig

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

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

Visibility: public

Requested revision: f2301ba896bd522483e987ecebe72bdcd86705ba

Requested commit: f2301ba896bd522483e987ecebe72bdcd86705ba

Commit: f2301ba896bd522483e987ecebe72bdcd86705ba

Tree: 2ef1e25a425ceeaf5b50830aab8e00db2c714fb8

Author: David Rubin

Committer: David Rubin

## Message

```
simd: correct suggestVectorLength

* the file's doc-comment was misleading and did not focus on the correct aspect of SIMD

* added cpu flag awareness to `suggestVectorLengthForCpu` in order to provide a more accurate vector length

```

## Parents

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

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