[Liboil] ORC performance for NEON

Prateek Mathur hiprateek007 at yahoo.co.in
Tue Jan 4 00:51:23 PST 2011

Hi All,
        I am very new to ORC and wanted to use it for some optimizations over NEON.
To start with I just wrote a simple float array addition program using ORC. 
Surprisingly the normally compiled version (which uses simple addition) works much much faster than the NEON version. I am not sure if I was able to utilize ORC properly or not.

C Code:
        float a[10];
        float b[10];
        float c[10];
        int i;
        gettimeofday (&t1, NULL) ;
                //printf("\n\na[%d]=%f b[%d]=%f c[%d]=%f \n",i,a[i],i,b[i],i,c[i]);

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/liboil/attachments/20110104/5a847af2/attachment.htm>

More information about the Liboil mailing list