[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Success report: installing pure64 on a dell poweredge 1850



Hello,

On Wed, Sep 08, 2004 at 10:59:41PM -0300, Peter Cordes wrote:
>  Does gcc support -m64 -march=pentium4?  Maybe that would help.  Code tuned
> for an Opteron might well be dog-slow on Nocona.

gcc-3.4 -s -static -Wall -O3 -march=pentium4 -m64    pointer.c   -o pointer
pointer.c:1: error: CPU you selected does not support x86-64 instruction set
pointer.c:1: error: CPU you selected does not support x86-64 instruction set
make: *** [pointer] Error 1

hmmmmm ;-)


well, using gcc-3.4 3.4.2 -s -static -Wall -O3 -m64 -march=nocona I get this:

BYTEmark* Native Mode Benchmark ver. 2 (10/95)
Index-split by Andrew D. Balsa (11/97)
Linux/Unix* port by Uwe F. Mayer (12/96,11/97)

TEST                : Iterations/sec.  : Old Index   : New Index
                    :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :           935.2  :      23.98  :       7.88
STRING SORT         :           120.9  :      54.02  :       8.36
BITFIELD            :       4.356e+08  :      74.72  :      15.61
FP EMULATION        :          127.32  :      61.09  :      14.10
FOURIER             :           13097  :      14.90  :       8.37
ASSIGNMENT          :           24.95  :      94.94  :      24.63
IDEA                :          2726.2  :      41.70  :      12.38
HUFFMAN             :          1701.2  :      47.17  :      15.06
NEURAL NET          :          24.661  :      39.62  :      16.66
LU DECOMPOSITION    :          1038.9  :      53.82  :      38.86
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX       : 52.535
FLOATING-POINT INDEX: 31.667
Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
C compiler          : gcc-3.4 (unknown version)
libc                : unknown version
MEMORY INDEX        : 14.757
INTEGER INDEX       : 11.996
FLOATING-POINT INDEX: 17.564
Baseline (LINUX)    : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
* Trademarks are property of their respective holder.



and the same for -m32:


BYTEmark* Native Mode Benchmark ver. 2 (10/95)
Index-split by Andrew D. Balsa (11/97)
Linux/Unix* port by Uwe F. Mayer (12/96,11/97)

TEST                : Iterations/sec.  : Old Index   : New Index
                    :                  : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT        :          1005.3  :      25.78  :       8.47
STRING SORT         :          101.16  :      45.20  :       7.00
BITFIELD            :      4.5755e+08  :      78.49  :      16.39
FP EMULATION        :          129.28  :      62.03  :      14.31
FOURIER             :           16804  :      19.11  :      10.73
ASSIGNMENT          :          24.721  :      94.07  :      24.40
IDEA                :          1631.5  :      24.95  :       7.41
HUFFMAN             :          1499.8  :      41.59  :      13.28
NEURAL NET          :          18.887  :      30.34  :      12.76
LU DECOMPOSITION    :          928.48  :      48.10  :      34.73
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX       : 47.603
FLOATING-POINT INDEX: 30.325
Baseline (MSDOS*)   : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
C compiler          : gcc-3.4 (unknown version)
libc                : unknown version
MEMORY INDEX        : 14.092
INTEGER INDEX       : 10.450
FLOATING-POINT INDEX: 16.819
Baseline (LINUX)    : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
* Trademarks are property of their respective holder.


This indeed changes quiet a few things.

Greetings
Frederik Schueler

-- 
ENOSIG



Reply to: