TomF, 14 days ago @mcc Haha! Welcome to my brain circa 1990: Multiplies and shifts are EXPENSIVE. Lookup tables are your friend. Divides - staaahp. No literally, they make the machine stop. Do absolutely everything in your power to avoid them. Lookup tables are your SAVIOUR. Branches? 4 clocks just like everything else. Why do you ask? Wait what's a "cache"?
@mcc Haha! Welcome to my brain circa 1990:
Multiplies and shifts are EXPENSIVE. Lookup tables are your friend.
Divides - staaahp. No literally, they make the machine stop. Do absolutely everything in your power to avoid them. Lookup tables are your SAVIOUR.
Branches? 4 clocks just like everything else. Why do you ask?
Wait what's a "cache"?