ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 894 microarchs · 15,770 chips · 105 sources
Arch:
Tier:

vaesef.vv

T1 riscv crypto insn
Vector AES encryption final round
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 Zvkned, Zkt-DIT
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsZvkned, Zkt-DIT

Summary

Performs the final round of AES encryption on vector register vs2 using vector register vs1, storing results in vector register vd according to mask vm. This combines the shift rows, sub bytes, and add round key operations.

Syntax / Encoding

vaesef.vv vd, vs2 | 1010001xxxxx00011010xxxxx1110111 (mask=0xfe0ff07f match=0xa201a077)

Cross-Chip Latency & Throughput (1 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
Tenstorrent Ascalon-X—0.5—RVV 1.0, VLEN=256rvv_bench_timings

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV1010001xxxxx00011010xxxxx11101110xfe0ff07f / 0xa201a077

Operands

NameDescription
vs2bits [24:20]
vdbits [11:7]

Reference Notes

Performs the final round of AES encryption on vector register vs2 using vector register vs1, storing results in vector register vd according to mask vm. This combines the shift rows, sub bytes, and add round key operations.