Changing CFLAGS for i386 packages on x86_64

dragoran dragoran at feuerpokemon.de
Fri Jul 14 10:37:31 UTC 2006


Arjan van de Ven wrote:
> On Fri, 2006-07-14 at 11:48 +0200, dragoran wrote:
>   
>> Arjan van de Ven wrote:
>>     
>>> On Fri, 2006-07-14 at 09:03 +0000, Kevin Kofler wrote:
>>>   
>>>       
>>>> Arjan van de Ven <arjan <at> fenrus.demon.nl> writes:
>>>>     
>>>>         
>>>>> SSE in 32 bit is not "just used" by gcc
>>>>>       
>>>>>           
>>>> What about -ftree-vectorize? 
>>>>     
>>>>         
>>> that is, on 32 bit, not so cheap since it means transfering FP from the
>>> x87 fpu to sse and back a lot.
>>>
>>>   
>>>       
>> ok but why isn't it enabled on x86_64 (for 64bit apps)
>> the packages are compiled with
>> -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
>> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
>> (this is shown in about:buildconfig in 64bit mozilla)
>>     
>
> perhaps because it's default enabled in -O2 ?
>
> (also iirc mozilla doesn't use the same CFLAGs as the rest of the distro
> does; but that could have gotten fixed recently of course)
>
>   
-O2 is the same as:
-fdefer-pop -fde-layed-branch -fguess-branch-probability -fcprop-registers
-floop-optimize -fif-conversion -fif-conversion2 -ftree-ccp
-ftree-dce -ftree-dominator-opts -ftree-dse -ftree-ter -ftree-lrs
-ftree-sra -ftree-copyrename -ftree-fre -ftree-ch -fmerge-constants  
-fthread-jumps -fcrossjumping -foptimize-sibling-calls 
-fcse-follow-jumps  -fcse-skip-blocks
 -fgcse  -fgcse-lm -fexpensive-optimizations -fstrength-reduce 
-fre-run-cse-after-loop  -frerun-loop-opt -fcaller-saves -fpeephole2 
-fschedule-insns  -fschedule-insns2 -fsched-interblock -fsched-spec 
-fregmove -fstrict-aliasing -fdelete-null-pointer-checks 
-freorder-blocks  -freorder-functions -funit-at-a-time 
-falign-functions  -falign-jumps -falign-loops -falign-labels -ftree-vrp 
-ftree-pre




More information about the devel mailing list