5 changed files with 17 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||
uint32_t prec = u.r.funct; |
|||
switch (prec) { |
|||
case 16: |
|||
case 32: |
|||
case 64: |
|||
printf("Precision set to %d bits\n", prec); |
|||
WRITE_PREC(prec); |
|||
break; |
|||
|
|||
default: |
|||
h->take_exception(HWACHA_CAUSE_ILLEGAL_CFG, 2); |
|||
break; |
|||
} |
|||
Loading…
Reference in new issue