Replies: 2 comments 4 replies
-
Hi All, Can anyone please comment on this? I want to know whether this was intended while writing the MulDiv module. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The This behavior is actually a performance feature, not a bug. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed that division instructions take more cycles when the divisor is larger than the dividend (when it should return 0).
I noticed this as a side channel.
Could you please let me know if this is the intended behavior of the MulDiv unit or a side effect of the current implementation (not intended / performance bug)?
I am seeing the same behavior in BOOM as well.
How to reproduce:
tests_div.zip
PS: Edited the commands and cycle counts for Rocket.
Beta Was this translation helpful? Give feedback.
All reactions