Closed Nelson1225 closed 3 years ago
Reviewing the V spec, I noticed that the zvqmacc and zvediv subextensions are not part of the v1.0 spec, and their instructions were removed from the opcode table, so maybe we shouldn't be implementing these by default? We could just put #if 0 around instructions in the riscv-opc.c file for instance. Or we could remove everything, the MASK/MATCH macros, the zvediv zvqmacc extensions, and the instructions in the riscv-opc.c file. I also noticed that the vdot instructions are not marked as part of the zvediv subextension. That definintely needs to be fixed. Otherwise we will be supporting them as part of the base V extension. This can all be fixed in a follow on patch. This one is big enough already.
Reviewing the V spec, I noticed that the zvqmacc and zvediv subextensions are not part of the v1.0 spec, and their instructions were removed from the opcode table, so maybe we shouldn't be implementing these by default? We could just put #if 0 around instructions in the riscv-opc.c file for instance. Or we could remove everything, the MASK/MATCH macros, the zvediv zvqmacc extensions, and the instructions in the riscv-opc.c file.
I also noticed that the vdot instructions are not marked as part of the zvediv subextension. That definintely needs to be fixed. Otherwise we will be supporting them as part of the base V extension. This can all be fixed in a follow on patch. This one is big enough already.
Got it, I will fix them in the future patches.