Code Speedup Technique - Branchless Coding

Status
Not open for further replies.

danadak

Well-Known Member
Most Helpful Member
Processor clock rate not only way to improve code execution speed.

Explanation and examples

Regards, Dana,
 
Processor clock rate not only way to improve code execution speed.
What he does not point out is that only applies to CPUs that use speculative execution, such as X86 / AMD64 etc.

It does apply to such as the PIC and Arduino MCUs many people on here use, and ideas like using multiplication as a comparison will be vastly slower on such devices.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…