well guys if you want to squezee a bit more fps from your nicely done OSS driver you can use this flags at compilation time.
export CFLAGS="-O3 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -fPIC -march=native -mfpmath=sse -msse2 -msseregparm -maccumulate-outgoing-args -m64 "
export CXXFLAGS="-O3 -Wall -fno-strict-aliasing -fPIC -march=native -mfpmath=sse -msse2 -msseregparm -maccumulate-outgoing-args -m64 -fprefetch-loop-arrays"
it worked fine for me in the DDX, Mesa, DRM. ubuntu lucid user careful since latest gcc update seems to break the compiler in mesa/gallium/auxiliary when using -fprefetch-loop-arrays, if you encounter this bug just remove that flag or compile your own gcc 4.5
have fun
export CFLAGS="-O3 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -fPIC -march=native -mfpmath=sse -msse2 -msseregparm -maccumulate-outgoing-args -m64 "
export CXXFLAGS="-O3 -Wall -fno-strict-aliasing -fPIC -march=native -mfpmath=sse -msse2 -msseregparm -maccumulate-outgoing-args -m64 -fprefetch-loop-arrays"
it worked fine for me in the DDX, Mesa, DRM. ubuntu lucid user careful since latest gcc update seems to break the compiler in mesa/gallium/auxiliary when using -fprefetch-loop-arrays, if you encounter this bug just remove that flag or compile your own gcc 4.5
have fun
Comment