Hi, Am Freitag 29 Februar 2008 09:31:12 schrieb Michel Dänzer: > On Thu, 2008-02-28 at 21:11 +0100, [EMAIL PROTECTED] wrote: > > My gcc-4.3 miscompiles something with -O3, so glxinfo crashes in tgsi. > > Maybe this is related to this warning: > > > > gcc -mcpu=cell -c -I. -I../../../../src/gallium/include > > -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers > > -I../../../../include -g -O2 -ftree-vectorize -ffast-math -Wall -Winline > > -fPIC -m32 -mabi=altivec -maltivec -I. > > -I/opt/ibm/cell-sdk/prototype/sysroot/usr/include -DGALLIUM_CELL > > util/tgsi_build.c -o util/tgsi_build.o > > util/tgsi_build.c: In function ‘tgsi_compare_instruction_ext_nv’: > > util/tgsi_build.c:851: warning: dereferencing type-punned pointer will > > break strict-aliasing rules > > You should be able to verify that by adding -fno-strict-aliasing.
ok - this fixes the crash, but fps goes down: -O2: 75 fps -O3 -fno-strict-aliasing: 65 fps. Thanks Marvin -- "Our cause has a sacred nature.", Lord Arthur Ponsonby, "Falsehood in Wartime: Propaganda Lies of the First World War", 1928 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev