This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Update default arch for x86


On Sat, Feb 27, 2010 at 10:34:15PM -0800, H.J. Lu wrote:
> 
> I can make them the same by defaulting i686-apple-darwin to pentium4.
> 
> -- 
> H.J.

HJ,
   I was hoping to make x86_64-apple-darwin10 higher instead so that it
supports -msse3 by default as was i686-apple-darwin10 in your previous
patch. Note that in Snow Leopard, Apple's system gcc-4.2.1 compiler shows...

# GNU C++ version 4.2.1 (Apple Inc. build 5646) (dot 1) (i686-apple-darwin10)
#       compiled by GNU C version 4.2.1 (Apple Inc. build 5646) (dot 1).
# GGC heuristics: --param ggc-min-expand=150 --param ggc-min-heapsize=65536
# options passed:  -imultilib -D__DYNAMIC__ -fPIC
# -mmacosx-version-min=10.6.3 -m64 -mtune=core2 -auxbase -fverbose-asm
# -D__private_extern__=extern
# options enabled:  -fPIC -falign-jumps-max-skip -falign-loops
# -falign-loops-max-skip -fargument-alias -fasynchronous-unwind-tables
# -fbranch-count-reg -fcommon -fearly-inlining
# -feliminate-unused-debug-types -femit-class-debug-always -fexceptions
# -ffunction-cse -fgcse-lm -fglobal-alloc-prefer-bytes -fident
# -finline-functions-called-once -fivopts -fkeep-static-consts
# -fleading-underscore -flocal-alloc -fmove-loop-invariants -fpeephole
# -freg-struct-return -fsched-interblock -fsched-spec
# -fsched-stalled-insns-dep -fshow-column -fsplit-ivs-in-unroller
# -fstack-protector -ftoplevel-reorder -ftree-loop-im -ftree-loop-ivcanon
# -ftree-loop-optimize -ftree-vect-loop-version -funit-at-a-time
# -funwind-tables -fverbose-asm -fzero-initialized-in-bss
# -m128bit-long-double -m64 -m80387 -maccumulate-outgoing-args
# -malign-stringops -matt-stubs -mconstant-cfstrings -mfancy-math-387
# -mfp-ret-in-387 -mieee-fp -mmmx -mno-sse4 -mpush-args -mred-zone -msse
# -msse2 -msse3 -mwarn-nonportable-cfstrings

so they are enabling sse3. Can this be done for gcc trunk on darwin?
              Jack


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]