[cairo] _cairo_color_compute_shorts fails with FPU set to
single precision
Fabien Costantini
fab672000 at yahoo.fr
Wed Aug 30 09:22:23 PDT 2006
----- Message d'origine ----
De : Behdad Esfahbod <behdad at behdad.org>
>> i -= ((i >> 16) & 1)
>That doesn't really help, other than slowing it down.
well, it just make sure you will substract at max 1,
but if it is already clamped as you wrote on your previous mail then it is not needed.
Btw, slowing down is a very relative matter ,
here in particular ,
it would add about 1 cycle on an x86
when using an AND instruction if i rember well ;-)
Fabien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/cairo/attachments/20060830/fa20967e/attachment.html
More information about the cairo
mailing list