OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: urielka on October 31, 2005, 11:26:40 am

Title: Mesa 6.4 Slight Better Speed
Post by: urielka on October 31, 2005, 11:26:40 am
i built Mesa 6.4 with -O3 -mcpu=iwmmxt -mtune=iwmmxt to get it going faster and it runs faster from my tests:
from 16.5FPS to 18FPS @416MHZ in glxgears
from 26FPS to 28FPS @624MHZ in glxgears

there some demos on the build also.
Sash:about the pcsx build that is on the feed,does it build with my patches? coz it is slow by 2-3 fps that my build!

one thing i realy pissed is that we have such poor 3d preformence with ur Zaurus.
i searched for a software-render OpenGL such as mesa with integer instead of floats but i didn`t find one.
if you look at PPC they get such a good speed.
i compiled foobillard with OpenGL and it runs for 3-5FPS(estimate) realy slow.
Title: Mesa 6.4 Slight Better Speed
Post by: sashz on October 31, 2005, 12:02:23 pm
Quote
i built Mesa 6.4 with -O3 -mcpu=iwmmxt -mtune=iwmmxt to get it going faster and it runs faster from my tests:
from 16.5FPS to 18FPS @416MHZ in glxgears
from 26FPS to 28FPS @624MHZ in glxgears

there some demos on the build also.
Sash:about the pcsx build that is on the feed,does it build with my patches? coz it is slow by 2-3 fps that my build!

one thing i realy pissed is that we have such poor 3d preformence with ur Zaurus.
i searched for a software-render OpenGL such as mesa with integer instead of floats but i didn`t find one.
if you look at PPC they get such a good speed.
i compiled foobillard with OpenGL and it runs for 3-5FPS(estimate) realy slow.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101480\"][{POST_SNAPBACK}][/a][/div]

where is your patches?
i added but not tested it
Title: Mesa 6.4 Slight Better Speed
Post by: urielka on October 31, 2005, 12:05:11 pm
so how did you build it? my patches aren`t for boost but are for building it but they also make it faster.
patches here.
it runs damn slow just 6-8FPS(your build) and 8-11FPS(my build).
something else that could build is Visual Boy that run as slow as 50-60%@624MHZ.
Title: Mesa 6.4 Slight Better Speed
Post by: sashz on October 31, 2005, 12:08:56 pm
Quote
i will post them later.
so how did you build it? my patches aren`t for boost but are for building it but they also make it faster.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101484\"][{POST_SNAPBACK}][/a][/div]

i added pcsx to builder, so it will building every new release automatic
Title: Mesa 6.4 Slight Better Speed
Post by: urielka on October 31, 2005, 12:18:22 pm
i mean ,how did it build it coz you need to hack the makefiles and some files to get it build.
and check my patches
Title: Mesa 6.4 Slight Better Speed
Post by: Da_Blitz on October 31, 2005, 08:52:13 pm
hacking around in the floating point emulation should speed things up, not sure if gcc supports autovactorisateion for the iwmmx but i am trying to find out at the moment
Title: Mesa 6.4 Slight Better Speed
Post by: urielka on November 01, 2005, 02:57:40 pm
only with gcc 4.0.(because of that Apple use 4.0 for VMX(aka Altivec) optimz).
the better thing i planing to do is write a arm dynamic recompiler so we will have alot of speed boost i think about 25-30FPS which will be damn good.
think about this: Fifa 2003(or sooner) on the Z just amazing.
tekken 3,Gta2 and all the good thigs
Title: Mesa 6.4 Slight Better Speed
Post by: lardman on November 02, 2005, 05:40:45 am
Quote
arm dynamic recompiler

Sounds cool - is this the kind of thing which profiles itself then recompiles to make the parts which are run the most run the fastest?


Si
Title: Mesa 6.4 Slight Better Speed
Post by: Da_Blitz on November 02, 2005, 07:20:08 am
i thoght that gcc had that built in, you just had to do multiple passes, the thing i wonder about fir autovectorisation is does gcc have support for it or only mmx/sse/altivec

i thing the speed boost from vectorising the floating point rouitnes would be better than dynamic recompalation scince thats the area thats cauising the most performance degerdation
Title: Mesa 6.4 Slight Better Speed
Post by: lardman on November 02, 2005, 07:22:55 am
Quote
i thoght that gcc had that built in, you just had to do multiple passes

Yes, but one of those passes has to be performed on the machine.

Quote
the thing i wonder about fir autovectorisation is does gcc have support for it or only mmx/sse/altivec

Although vfp has vector support, I thought that this was only for hardware floating point units? I'd assumed that as it's emulated there would be no difference (or can the emulation perform vector calculations somehow?).


Si
Title: Mesa 6.4 Slight Better Speed
Post by: koen on November 02, 2005, 09:48:17 am
this thread has quite some info about vfp: http://maemo.org/pipermail/maemo-developer...ber/001602.html (http://maemo.org/pipermail/maemo-developers/2005-October/001602.html)
Title: Mesa 6.4 Slight Better Speed
Post by: urielka on November 02, 2005, 11:35:34 am
a interpter core runs a lot slower than dynamic recompiler so building one will be the best option
Title: Mesa 6.4 Slight Better Speed
Post by: Da_Blitz on November 02, 2005, 08:11:33 pm
thanks for the link to the mailing list, i would be intrested to see how much of an improvment we could get, i might even do some iwmmx asm if i feel there is a good performance boost, i am planning to conver the mmx AES routines to iwmmx so mabey after that
Title: Mesa 6.4 Slight Better Speed
Post by: Da_Blitz on November 02, 2005, 08:13:25 pm
just a note, iwmmx includes all integer SSE stuff, so its actually a superset of your standard mmx, i dont know how this effects the code but i assume this would allow for some instructions that would take longer to do in pure mmx