Conversation
a0u
left a comment
There was a problem hiding this comment.
If unimplemented, the FMA instructions should be excluded from the decode tables so an illegal instruction assertion will be raised if used:
hwacha/src/main/scala/scalar-decode.scala
Lines 314 to 320 in f7e47e1
This should also apply to single and half precision for consistency.
|
I would suggest making all double precision operations illegal (the strange subset that exists when only DFMA is removed is unlikely to be useful) and then I would consider looking at all the other double precision functional units included (FDIV, FCMP, FCOMP) to see how much more area/power you could save. |
|
I've revised the PR to more thoroughly remove unused FP units, and explicitly throw illegal instruction exceptions for unsupported types. |
No description provided.