Author Topic: Mesa 6.4 Slight Better Speed  (Read 3866 times)

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Mesa 6.4 Slight Better Speed
« 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.

sashz

  • Sr. Member
  • ****
  • Posts: 388
    • View Profile
    • http://
Mesa 6.4 Slight Better Speed
« Reply #1 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

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Mesa 6.4 Slight Better Speed
« Reply #2 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.
« Last Edit: October 31, 2005, 12:09:56 pm by urielka »

sashz

  • Sr. Member
  • ****
  • Posts: 388
    • View Profile
    • http://
Mesa 6.4 Slight Better Speed
« Reply #3 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

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Mesa 6.4 Slight Better Speed
« Reply #4 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

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Mesa 6.4 Slight Better Speed
« Reply #5 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
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Mesa 6.4 Slight Better Speed
« Reply #6 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

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Mesa 6.4 Slight Better Speed
« Reply #7 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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Mesa 6.4 Slight Better Speed
« Reply #8 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
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Mesa 6.4 Slight Better Speed
« Reply #9 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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Mesa 6.4 Slight Better Speed
« Reply #10 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
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Mesa 6.4 Slight Better Speed
« Reply #11 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

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Mesa 6.4 Slight Better Speed
« Reply #12 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
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Mesa 6.4 Slight Better Speed
« Reply #13 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
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware