Yes, it's another one of my, "Oh no, people think I'm crazy." threads.
Is sprinkling inline ASM throughout my code in order to implement basic math routines, and hardcoded mathematical functions (especially series approximations for made up functions) a valid optimisation technique?
Even when I bust down the complexity of a function, I still find myself in need of doing an op in order to calculate an index for example(can't be calculated via a simple addition or whatnot) in a loop within a single clock cycle.
I don't have any performance issues, but I believe that mathematical functions should be done in ASM unless they are remarkably simple.
Is my thinking wrong?
Is sprinkling inline ASM throughout my code in order to implement basic math routines, and hardcoded mathematical functions (especially series approximations for made up functions) a valid optimisation technique?
Even when I bust down the complexity of a function, I still find myself in need of doing an op in order to calculate an index for example(can't be calculated via a simple addition or whatnot) in a loop within a single clock cycle.
I don't have any performance issues, but I believe that mathematical functions should be done in ASM unless they are remarkably simple.
Is my thinking wrong?