glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] Division is bad...


From: Stéphane Magnenat
Subject: Re: [glob2-devel] Division is bad...
Date: Sat, 8 Jul 2006 12:03:35 +0200
User-agent: KMail/1.9.3

> Yes, but we all expect the compiler to make divisions into multiplications
> when possible :)

Well, then you all believe in Santa Claus ;-)
It's generally not possible for the compiler to optimise divisions into 
multiplications and shift because if data are not known constants, it can't 
predict that the smashed bit aren't usefull anyway, and if data are known 
constants, well, everything can be computed at compilation.

Steph

-- 
http://nct.ysagoon.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]