You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we only optimize division by a constant when it is a power of two. This is the simple case; division can be replaced by a right shift. But it is also possible to optimize the general case.
The text was updated successfully, but these errors were encountered:
I have some Haskell code which can be used to transform division by a constant into multiplication and addition. It should be fairly straightforward to port it to Feldspar.
From the old trac:
Currently we only optimize division by a constant when it is a power of two. This is the simple case; division can be replaced by a right shift. But it is also possible to optimize the general case.
The text was updated successfully, but these errors were encountered: