Skip to content

Commit

Permalink
sve_armie.md: Fix documentation of how to specify vector length
Browse files Browse the repository at this point in the history
georges-arm committed Jan 23, 2025
1 parent 0bb626a commit 4aa2432
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -80,10 +80,11 @@ Install `qemu-user` to run the example on processors which do not support SVE:
```bash { command_line="user@localhost" }
sudo apt install qemu-user -y
```
Run the example application with a vector length of 256 bits:

Run the example application with a vector length of 256 bits, note that the vector length is specified in bytes rather than bits:

```bash { command_line="user@localhost | 2" }
qemu-aarch64 -cpu max,sve-default-vector-length=256 ./sve_add.exe
qemu-aarch64 -cpu max,sve-default-vector-length=32 ./sve_add.exe
Done.
```

0 comments on commit 4aa2432

Please sign in to comment.