Closed thixotropist closed 2 months ago
d412ffc5 added the SiFive vector coprocessor extension (xsfvcp
) and the 16 bit floating point extension (zfh
). We don't have an encoding reference for the SiFive extension, so there is not much to do there in Ghidra. The zfh
extension instructions, and their vector counterparts, may to show up first in whisper.cpp code or possibly Marvel AI accelerators.
Apparently the vector support for half-precision floating point (zvh
) instructions doesn't actually add new opcodes. Instead, it means that SEW=16 is an acceptable value when processing opcodes like vfmul
.
RISCV-64 extensions can be grouped into profiles. The binutils gas assembler provides another grouping of extensions, both standard and vendor-specific. This issue tracks those extensions to show which are in need of additional import integration tests.
Binutils extension support exists in development tip:
Additional RVA23U64 mandatory and optional ISA extensions
Let's tackle first:
And defer:
s*
) until we find them in a kernel