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

Frederic Plourde frederic.plourde at polymtl.ca
Fri Feb 29 10:44:35 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
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pixman_MMX_M64_ullong_macros.patch
Type: application/octet-stream
Size: 17894 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20080229/7d865ac3/attachment-0001.obj 


More information about the cairo mailing list