Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
Use vtypei instead of zimm in vcfg-format.adoc (#862)
Browse files Browse the repository at this point in the history
This matches how the vset(i)vli instructions are defined.

I'm not sure what the 'z' in zimm was meant to convey. The base ISA spec uses nzimm, but to mean an immediate that can't be zero, but I don't think it ever uses zimm.

Signed-off-by: Craig Topper <[email protected]>
  • Loading branch information
topperc authored Mar 7, 2023
1 parent 996390e commit 912647b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vcfg-format.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Formats for Vector Configuration Instructions under OP-V major opcode
{bits: 5, name: 'rd', type: 4},
{bits: 3, name: 7},
{bits: 5, name: 'rs1', type: 4},
{bits: 11, name: 'zimm[10:0]', type: 5},
{bits: 11, name: 'vtypei[10:0]', type: 5},
{bits: 1, name: '0'},
]}
```
Expand All @@ -25,7 +25,7 @@ Formats for Vector Configuration Instructions under OP-V major opcode
{bits: 5, name: 'rd', type: 4},
{bits: 3, name: 7},
{bits: 5, name: 'uimm[4:0]', type: 5},
{bits: 10, name: 'zimm[9:0]', type: 5},
{bits: 10, name: 'vtypei[9:0]', type: 5},
{bits: 1, name: '1'},
{bits: 1, name: '1'},
]}
Expand Down

0 comments on commit 912647b

Please sign in to comment.