<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi All,<br> I am very new to ORC and wanted to use it for some optimizations over NEON.<br>To start with I just wrote a simple float array addition program using ORC. <br>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.<br><br>C Code:<br> float a[10];<br> float b[10];<br> float c[10];<br> int i;<br> <br>for(i=0;i<10;i++)<br> {<br>
a[i]=3.14159*100*(i+1);<br> b[i]=5.00956*10*i;<br> //a[i]=100*i;<br> //b[i]=1000*(i+1);<br> }<br> gettimeofday (&t1, NULL) ;<br> for(i=0;i<10;i++)<br> {<br> c[i]=a[i]+b[i];<br> //printf("\n\na[%d]=%f b[%d]=%f c[%d]=%f \n",i,a[i],i,b[i],i,c[i]);<br> }<br><br></td></tr></table><br>