[cairo] [PATCH] Rely less on FPU for common matrix funcs.

Arjen Nienhuis a.g.nienhuis at gmail.com
Wed Jun 2 04:31:38 PDT 2010


Are FP values always normalized in RAM? I mean can 0.0 be stored as 0.0E1
and would memcmp still work?

Groeten, Arjen

On Wed, Jun 2, 2010 at 1:04 PM, Jonathan Morton
<jonathan.morton at movial.com>wrote:

> Revised patch attached.
>
> This one uses the slightly dirtier (and faster) method for
> _cairo_matrix_is_translate().
>
> It also replaces cairo_matrix_init_identity() with a straight copy from
> a global constant reference (it becomes a series of load/store-multiple
> instructions).  This reduces it's substantial contribution to our
> profile by about half.
>
> --
> ------
> From: Jonathan Morton
>      jonathan.morton at movial.com
>
>
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100602/aa9f2bd0/attachment.htm>


More information about the cairo mailing list