Thats barely 2% as posted.  Like you said, that could be statistically
insignificant.

        ---Mike

On 5/3/2011 2:46 AM, Alexander wrote:
> Not much but it sure looks better! ;)
> I did a little benchmark with a program of mine (lower is better):
> -O3 -march=pentium -mtune=pentium: 66m3.387s
> -O3 -mtune=generic:                61m18.543s
> -O3 -march=geode -mtune=geode:     59m43.385s
> 
> I only did one run so it's probably all within the error margin anyways.
> In /etc/make.conf I now use:
> CFLAGS= -Os -O2 -pipe -march=geode -mtune=geode
> COPTFLAGS= -Os -pipe -mtune=geode -march=geode
> 
> Alex.
> 
> ----- Message from [email protected] ---------
>     Date: Mon, 02 May 2011 10:11:06 -0400
>     From: Mike Tancsa <[email protected]>
>  Subject: Re: [Soekris] svn commit: r221274 - in stable/8: contrib/gcc
> contrib/gcc/config/i386 contrib/gcc/config/mips
> contrib/gcc/config/rs6000 contrib/gcc/config/s390 contrib/gcc/cp
> contrib/gcc/doc contrib/libstdc++ con...
>       To: Alexander <[email protected]>
>       Cc: [email protected]
> 
> 
>> On 5/2/2011 5:42 AM, Alexander wrote:
>>> With this commit to FreeBSD we can now use "-march=geode -mtune=geode"
>>> with the FreeBSD's gcc. *yay*
>>
>> Hi,
>>     How significant are the optimizations ?  Has anyone done any
>> benchmarks
>> ?  To make use of it, just add
>> CPUTYPE=geod
>> in /etc/make.conf ?  Does that do both world and kernel ?
>>
>>     ---Mike
>>
>>> Alex.
>>>
>>> ----- Message from [email protected] ---------
>>>     Date: Sat, 30 Apr 2011 22:07:04 +0000 (UTC)
>>>     From: Martin Matuska <[email protected]>
>>>  Subject: svn commit: r221274 - in stable/8: contrib/gcc
>>> contrib/gcc/config/i386 contrib/gcc/config/mips
>>> contrib/gcc/config/rs6000 contrib/gcc/config/s390 contrib/gcc/cp
>>> contrib/gcc/doc contrib/libstdc++ con...
>>>       To: [email protected], [email protected],
>>> [email protected], [email protected]
>>>
>>>
>>>> Author: mm
>>>> Date: Sat Apr 30 22:07:04 2011
>>>> New Revision: 221274
>>>> URL: http://svn.freebsd.org/changeset/base/221274
>>>>
>>>> Log:
>>>>  MFC 219374, 219376, 219639, 219640, 219697, 219711, 220150:
>>>>
>>>>  MFC r219374:
>>>>  Backport Intel Core 2 and AMD Geode CPU types from gcc-4.3 (GPLv2)
>>>>  These options are supported in this shape in all newer GCC versions.
>>>>
>>>>  Source:    gcc-4_3-branch (rev. 118090, 118973, 120846; GPLv2)
>>>>
>>>>  MFC r219376:
>>>>  Add AMD Geode CPU type to bsd.cpu.mk and examples/etc/make.conf
>>>>  For CPUTYPE=core2 use -march=core2
>>>>
>>>>  MFC r219639:
>>>>  Backport SSSE3 instruction set support to base gcc.
>>>>  Enabled by default for -march=core2
>>>>
>>>>  Source:    gcc-4_3-branch (rev. 117958, 121687, 121726, 123639; GPLv2)
>>>>
>>>>  MFC r219640:
>>>>  Add ssse3 capability for CPUTYPE=core2 to MACHINE_CPU in bsd.cpu.mk
>>>>
>>>>  MFC r219697:
>>>>  Fix -march/-mtune=native autodetection for Intel Core 2 CPUs
>>>>
>>>>  Source:    gcc-4_3-branch (partial rev. 119454; GPLv2)
>>>>
>>>>  MFC r219711:
>>>>  Backport missing tunings for -march=core2:
>>>>  - enable extra 80387 mathematical constants (ext_80387_constants)
>>>>  - enable compare and exchange 16 bytes (cmpxchg16b)
>>>>
>>>>  Verified against llvm-gcc (and apple gcc)
>>>>  Source:    gcc-4_3-branch (ref. svn revs. 119260, 121140; GPLv2)
>>>>
>>>>  MFC r220150:
>>>>  Upgrade of base gcc and libstdc++ to the last GPLv2-licensed revision
>>>>  (rev. 127959 of gcc-4_2-branch).
>>>>
>>>>  Resolved GCC bugs:
>>>>      c++: 17763, 29365, 30535, 30917, 31337, 31941, 32108, 32112,
>>>> 32346,
>>>>           32898, 32992
>>>>      debug: 32610, 32914
>>>>      libstdc++: 33084, 33128
>>>>      middle-end: 32563
>>>>      rtl-optimization: 33148
>>>>      tree-optimization: 25413, 32723
>>>>      target: 32218
>>>>
>>>>  Source:    gcc-4_2-branch (up to rev. 127959)
>>>>
>>>>  Obtained from:    gcc (var. revs of gcc-4_2-branch and
>>>> gcc-4_3-branch; GPLv2)
>>>>  PR:        gnu/153298, gnu/153959, gnu/154385, gnu/155308
>>>>
>>>> Added:
>>>>  stable/8/contrib/gcc/config/i386/geode.md
>>>>     - copied unchanged from r219374,
>>>> head/contrib/gcc/config/i386/geode.md
>>>>  stable/8/contrib/gcc/config/i386/tmmintrin.h
>>>>     - copied unchanged from r219639,
>>>> head/contrib/gcc/config/i386/tmmintrin.h
>>>> Modified:
>>>>  stable/8/contrib/gcc/BASE-VER
>>>>  stable/8/contrib/gcc/ChangeLog
>>>>  stable/8/contrib/gcc/DATESTAMP
>>>>  stable/8/contrib/gcc/DEV-PHASE
>>>>  stable/8/contrib/gcc/config.gcc
>>>>  stable/8/contrib/gcc/config/i386/driver-i386.c
>>>>  stable/8/contrib/gcc/config/i386/i386.c
>>>>  stable/8/contrib/gcc/config/i386/i386.h
>>>>  stable/8/contrib/gcc/config/i386/i386.md
>>>>  stable/8/contrib/gcc/config/i386/i386.opt
>>>>  stable/8/contrib/gcc/config/i386/sse.md
>>>>  stable/8/contrib/gcc/config/i386/xmmintrin.h
>>>>  stable/8/contrib/gcc/config/mips/predicates.md
>>>>  stable/8/contrib/gcc/config/rs6000/rs6000.c
>>>>  stable/8/contrib/gcc/config/s390/s390.md
>>>>  stable/8/contrib/gcc/cp/ChangeLog
>>>>  stable/8/contrib/gcc/cp/call.c
>>>>  stable/8/contrib/gcc/cp/cp-tree.h
>>>>  stable/8/contrib/gcc/cp/cxx-pretty-print.c
>>>>  stable/8/contrib/gcc/cp/decl.c
>>>>  stable/8/contrib/gcc/cp/decl2.c
>>>>  stable/8/contrib/gcc/cp/error.c
>>>>  stable/8/contrib/gcc/cp/lex.c
>>>>  stable/8/contrib/gcc/cp/name-lookup.c
>>>>  stable/8/contrib/gcc/cp/pt.c
>>>>  stable/8/contrib/gcc/cp/semantics.c
>>>>  stable/8/contrib/gcc/cp/typeck.c
>>>>  stable/8/contrib/gcc/doc/contrib.texi
>>>>  stable/8/contrib/gcc/doc/extend.texi
>>>>  stable/8/contrib/gcc/doc/gcc.1
>>>>  stable/8/contrib/gcc/doc/invoke.texi
>>>>  stable/8/contrib/gcc/dwarf2out.c
>>>>  stable/8/contrib/gcc/expr.c
>>>>  stable/8/contrib/gcc/fold-const.c
>>>>  stable/8/contrib/gcc/gimplify.c
>>>>  stable/8/contrib/gcc/reload1.c
>>>>  stable/8/contrib/gcc/simplify-rtx.c
>>>>  stable/8/contrib/gcc/target-def.h
>>>>  stable/8/contrib/gcc/target.h
>>>>  stable/8/contrib/gcc/targhooks.c
>>>>  stable/8/contrib/gcc/targhooks.h
>>>>  stable/8/contrib/gcc/tree-if-conv.c
>>>>  stable/8/contrib/gcc/tree-ssa-structalias.c
>>>>  stable/8/contrib/gcc/tree-vect-analyze.c
>>>>  stable/8/contrib/gcc/tree-vect-patterns.c
>>>>  stable/8/contrib/gcc/tree.c
>>>>  stable/8/contrib/gcc/tree.h
>>>>  stable/8/contrib/libstdc++/ChangeLog
>>>>  stable/8/contrib/libstdc++/include/std/std_valarray.h
>>>>  stable/8/contrib/libstdc++/include/tr1/random
>>>>  stable/8/share/examples/etc/make.conf
>>>>  stable/8/share/mk/bsd.cpu.mk
>>>> Directory Properties:
>>>>  stable/8/contrib/gcc/   (props changed)
>>>>  stable/8/contrib/libstdc++/   (props changed)
>>>>  stable/8/share/examples/   (props changed)
>>>>  stable/8/share/examples/cvsup/   (props changed)
>>>>  stable/8/share/mk/   (props changed)
>>>>
>>>
>>>
>>> ----- End message from [email protected] -----
>>>
>>>
>>>
>>> ========================================================================
>>> #    _  __          _ __     http://www.nagilum.org/ \n icq://69646724 #
>>> #   / |/ /__ ____ _(_) /_ ____ _  [email protected] \n +491776461165 #
>>> #  /    / _ `/ _ `/ / / // /  ' \  Amiga (68k/PPC): AOS/NetBSD/Linux   #
>>> # /_/|_/\_,_/\_, /_/_/\_,_/_/_/_/ Mac (PPC): MacOS-X / Linux / MacOS-X #
>>> #           /___/     x86: FreeBSD/Linux/Solaris/Win2k  ARM9: EPOC EV6 #
>>> ========================================================================
>>>
>>>
>>> ----------------------------------------------------------------
>>> cakebox.homeunix.net - all the machine one needs..
>>>
>>>
>>>
>>> ----------------------------------------------------------------
>>> cakebox.homeunix.net - all the machine one needs..
>>>
>>>
>>>
>>> _______________________________________________
>>> Soekris-tech mailing list
>>> [email protected]
>>> http://lists.soekris.com/mailman/listinfo/soekris-tech
>>
>>
>> -- 
>> -------------------
>> Mike Tancsa, tel +1 519 651 3400
>> Sentex Communications, [email protected]
>> Providing Internet services since 1994 www.sentex.net
>> Cambridge, Ontario Canada   http://www.tancsa.com/
>>
> 
> 
> ----- End message from [email protected] -----
> 
> 
> 
> ========================================================================
> #    _  __          _ __     http://www.nagilum.org/ \n icq://69646724 #
> #   / |/ /__ ____ _(_) /_ ____ _  [email protected] \n +491776461165 #
> #  /    / _ `/ _ `/ / / // /  ' \  Amiga (68k/PPC): AOS/NetBSD/Linux   #
> # /_/|_/\_,_/\_, /_/_/\_,_/_/_/_/ Mac (PPC): MacOS-X / Linux / MacOS-X #
> #           /___/     x86: FreeBSD/Linux/Solaris/Win2k  ARM9: EPOC EV6 #
> ========================================================================
> 
> 
> ----------------------------------------------------------------
> cakebox.homeunix.net - all the machine one needs..
> 
> 


-- 
-------------------
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, [email protected]
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to