Skip to content

Commit

Permalink
Remove tuple types.
Browse files Browse the repository at this point in the history
We are going to remove tuple types in
riscv-non-isa/rvv-intrinsic-doc#98.
  • Loading branch information
Hsiangkai committed Jun 29, 2021
1 parent d264ca5 commit c0b9fd7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions riscv-elf.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,14 +307,6 @@ values are stored on the stack aligned to the size of the elements in the vector
The addresses of the vector or mask values on the stack are passed according
to the integer calling convention.

Vector tuple types for Zvlsseg will be flattened as `NF` vector values when passing
as arguments. `NF` is the number of fields for the tuple types. For example, values
with the tuple type for LMUL = 2 and NF = 3 will be passed as 3 vector arugments
with LMUL = 2. If there is no enough vector registers for the vector tuple, it
will use up the vector argument registers and the remaining values will be passed
by reference. v8-v15 are enough for vector tuple return values because
`LMUL` * `NF` ≤ 8 in V specification.

v0-v31, vl, and vtype shall not be preserved across procedure calls.

There is no scalar values passed through vector registers. There is no vector
Expand Down

0 comments on commit c0b9fd7

Please sign in to comment.