On 2/9/2014 7:38 AM, bearophile wrote:
This shows how a C-like language lacks some essential parts to use well the CPUs
(both x86 and to ARM) to implement range integrals or multi-word integrals
efficiently without using asm:
http://accu.org/index.php/journals/1849

Much like how ROR and ROL is efficiently handled in compilers by having the compiler recognize the equivalent expression, I think the best way to handle these issues is by having the compiler recognize the multi-precision expressions, and rewrite it internally into the optimal asm.

Reply via email to