Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Code Speedup Technique - Branchless Coding

danadak

Active Member
Processor clock rate not only way to improve code execution speed.

Explanation and examples

Regards, Dana,
 

rjenkinsgb

Well-Known Member
Most Helpful Member
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.
 

Latest threads

Top