rdsvl
Read Streaming Vector Length
RDSVL <Xd>, #<imm>
Reads the current vector length in streaming mode.
Pseudocode Operation
No pseudocode available.
Encoding
Binary Layout
000001001
31:23
0
22
1
21
1111
20:17
1
16
01011
15:11
imm6
10:5
Rd
4:0
Operands
-
Xd
Dest -
imm
Multiplier
Related
More in SME
Reference
View in Arm A64 ISA Reference ↗
Arm A64 ISA
Instruction Forms
| Encoding | Instruction | ISA | Bit pattern | ||
|---|---|---|---|---|---|
| 0x04BF5800 | RDSVL <Xd>, #<imm> | A64 | 000001001 | 0 | 1 | 1111 | 1 | 01011 | imm6 | Rd |
Description
Multiply the Streaming SVE vector register size in bytes by an immediate in the range -32 to 31 and place the result in the 64-bit destination general-purpose register. This instruction does not require the PE to be in Streaming SVE mode.
Operation
CheckSMEEnabled(); constant integer SVL = CurrentSVL; integer len = imm * (SVL DIV 8); X[d, 64] = len<63:0>;