Spike, a RISC-V ISA Simulator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
501 B

ZVLDOT_INIT(4);
switch (P.VU.vsew) {
case 8: {
require_extension(EXT_ZVQLDOT8I);
if (P.VU.altfmt) {
ZVLDOT_SIMPLE_LOOP(int8_t, uint8_t, uint32_t);
} else {
ZVLDOT_SIMPLE_LOOP(uint8_t, uint8_t, uint32_t);
}
break;
}
case 16: {
require_extension(EXT_ZVQLDOT16I);
if (P.VU.altfmt) {
ZVLDOT_SIMPLE_LOOP(int16_t, uint16_t, uint64_t);
} else {
ZVLDOT_SIMPLE_LOOP(uint16_t, uint16_t, uint64_t);
}
break;
}
default: require(false);
}