I refer back to my earlier explanation of RISC OS modules as operating system extensions. The Numbers module has the calculation code and does all the hard lifting. My program is in BASIC, but not as you might imagine.
You do not menton conditional execution. This used to be very valuable in reducing branching, but I have read that it is unlikely to be so on more modern processors with better prediction. I cannot get out of the habit, myself, though.DavidS wrote:1: Minimize the use of branching.
I am really out of my depth, but had you considered the Neon instructions on quad vectors? Eg:assembler wrote:In fact, any contribution would be welcome.
Code: Select all
vadd.F32 q0, q0, q1