Code: Select all
CFLAGS="-O3 -march=athlon64 -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -fomit-frame-pointer -pipe"
(Page 29)
Maybe somebody can make this sticky?
Code: Select all
CFLAGS="-O3 -march=athlon64 -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -fomit-frame-pointer -pipe"

I jest update my /etc/make.conf with these flag, I'll take a look at what happens as soon as I emerge something.AndersH wrote:Looks interesting, but isn't -ffast-math dangerous in certain situations, or am I misremembering something? Does anyone dare to try these flags and tell us the results?


[PATCH] x86_64: remove CONFIG_FRAME_POINTER
CONFIG_FRAME_POINTER has never worked on x86-64 because it never passed
-fno-omit-frame-pointer to the compiler, and that is the only way to get a
frame pointer on x86-64.




Code: Select all
main()
{
int x=9000;
while (x != 0) {
x = x - 1;
}
}Code: Select all
decl %eax
jne .L4Code: Select all
subl $8, %eax
jne .L4
