[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-solaris
Subject: Re: [kde-solaris] Re: fibonacci
From: Stefan Teleman <steleman () nyc ! rr ! com>
Date: 2004-11-06 3:37:36
Message-ID: 200411052237.36454.steleman () nyc ! rr ! com
[Download RAW message or body]
Using -fomit-frame-pointer does not seem to make any difference:
[steleman@obiwan][~/programming/fibonacci][11/05/2004 22:37:50][258]>>
/usr/local/bin/gcc -m32 -mtune=v9 -fomit-frame-pointer -O3
fibonacci.c -o fibonacci.gcc342.v9.omit.frame.pointer
[steleman@obiwan][~/programming/fibonacci][11/05/2004 22:38:18][259]>>
./fibonacci.gcc342.v9.omit.frame.pointer 36
./fibonacci.gcc342.v9.omit.frame.pointer: calculated 10 fibonacci(36)
in 19.000000 seconds
[steleman@obiwan][~/programming/fibonacci][11/05/2004 22:38:48][260]>>
3 times in a row:
[steleman@obiwan][~/programming/fibonacci][11/05/2004 22:43:38][263]>>
date ; ./fibonacci.gcc342.v9.omit.frame.pointer 36 ; date
Fri Nov 5 22:43:46 EST 2004
./fibonacci.gcc342.v9.omit.frame.pointer: calculated 10 fibonacci(36)
in 19.000000 seconds
Fri Nov 5 22:44:06 EST 2004
[steleman@obiwan][~/programming/fibonacci][11/05/2004 22:44:06][264]>>
date ; ./fibonacci.gcc342.v9.omit.frame.pointer 36 ; date
Fri Nov 5 22:44:07 EST 2004
./fibonacci.gcc342.v9.omit.frame.pointer: calculated 10 fibonacci(36)
in 19.000000 seconds
Fri Nov 5 22:44:26 EST 2004
[steleman@obiwan][~/programming/fibonacci][11/05/2004 22:44:26][265]>>
date ; ./fibonacci.gcc342.v9.omit.frame.pointer 36 ; date
Fri Nov 5 22:44:28 EST 2004
./fibonacci.gcc342.v9.omit.frame.pointer: calculated 10 fibonacci(36)
in 19.000000 seconds
Fri Nov 5 22:44:48 EST 2004
[steleman@obiwan][~/programming/fibonacci][11/05/2004 22:44:48][266]>>
--Stefan
------
On Friday 05 November 2004 21:58, Sunil wrote:
> the same code and same compile arguments, I get around
> 24% boost with gcc with -mtune=v9 instead of -mv8plus.
> it is with gcc 3.3.4, gcc3.4.2 probably should do
> better than that in bridging the gap. Can you please
> post gcc-3.4.2 result with -mtune=v9?
>
> And I agree that it will still not be enough to
> account for all of the difference in this benchmark.
>
> Thanks,
> Sunil
--
Stefan Teleman 'Nobody Expects the Spanish Inquisition'
steleman@nyc.rr.com -Monty Python
___________________________________________________
This message is from the kde-solaris mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic