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.
 
 
 
 
 
 

12 lines
186 B

uint32_t prec = u.r.funct;
switch (prec) {
case 16:
case 32:
case 64:
WRITE_PREC(prec);
break;
default:
h->take_exception(HWACHA_CAUSE_ILLEGAL_CFG, 2);
break;
}