[cairo] MMX M64 and ULLONG macros added in pixman-mmx.c

Frederic Plourde frederic.plourde at polymtl.ca
Fri Feb 29 10:41:07 PST 2008


Here's a patch that add 2 definition macros for easy "cast-to-union-type"
conversions in pixman-mmx.c.

The macros are defined inside pixman-private.h
have fun ! ;-)
-fred-


Selon Soeren Sandmann <sandmann at daimi.au.dk>:

> Frederic Plourde <frederic.plourde at polymtl.ca> writes:
>
> > > I can't get the patch to apply - could you upload it somewhere, or
> > > send it as an attachment instead?
> >
> > here they are, both *hopefully* attached to this email.
>
> It looks like gcc generates essentially the same (bad) code in both
> cases, so I'm ok with using the pointer cast.
>
> I still would like to get this encapsulated in two macros
>
>   M64()
>
> and
>
>   ULLONG()
>
> so that we can change it later if necessary.
>
> I can't comment on the Makefile.win32 changes.
>
>
> Thanks,
> Soren
>





More information about the cairo mailing list