[cairo] pixman with MMX supported on scratchbox arm build

Markus Schumann go4shoe at hotmail.com
Mon Jul 7 08:30:02 PDT 2008


ARM doesn't support MMX which was designed by Intel for their Pentiums.

Markus.

 

  _____  

From: cairo-bounces at cairographics.org
[mailto:cairo-bounces at cairographics.org] On Behalf Of Guoxin Fan
Sent: Monday, July 07, 2008 10:15 AM
To: cairo at cairographics.org
Subject: [cairo] pixman with MMX supported on scratchbox arm build

 

Hello, all:

 

    I am trying to enable MMX in pixman-0.10.0 for our linux-based phone. 

   

    Here is what we have so far:

1.	Build environment:  scratchbox with arm-iwmmxt-linux-gnueabi and
gcc4.1.1. Our directfb package used pixman-0.10.0 for mozilla browser. 
2.	Without MMX enabled, it builds and runs ok on our target.
3.	I have tested the APIs in mmintrin.h, which compile and run ok on
our target.
4.	If I remove the -mmmx from MMX_CFLAGS, then ./configure will detect
MMX and set have_mmx_intrinsics to yes.

 

      The problem is that: 

           The assembly codes in pixman-pict.c and pixman-mmx.c are only
return for intel architecture. 

 

       I am new to the pixman, can someone help me sort out:

       1.   what are those assembly codes doing? Can we make it work for ARM
architecture?

2.       will pixman-0.10.0 work with MMX if APIs in mmintrin.h work well
with our target?

3.       Who should I contact for help on this issue?

 

       Thanks,

       -Guoxin

 

 

 

     

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080707/36764ae3/attachment-0001.htm 


More information about the cairo mailing list