Re: March=native with a main 64bit system and 32bit chroot

2009-05-26 Thread Ian Lance Taylor
Luca Zorzo writes: > I've a main Gentoo 64bit system with CHOST="x86_64-pc-linux-gnu" and > CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer". > My cpu is a Pentium 4 Prescott and i'm using gcc-4.3.2. > > With this little script: > "echo 'float x(float x){return x < 0 ? -x : x;}

March=native with a main 64bit system and 32bit chroot

2009-05-26 Thread Luca Zorzo
Hi all, I've a main Gentoo 64bit system with CHOST="x86_64-pc-linux-gnu" and CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer". My cpu is a Pentium 4 Prescott and i'm using gcc-4.3.2. With this little script: "echo 'float x(float x){return x < 0 ? -x : x;}' > x.c && gcc -fverbose