Louis . Granboulan on Mon, 29 Jun 1998 19:47:42 +0200


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

Patch for HP/NextStep and timings


Apply this patch to make Configure work well
for HP under NextStep. We don't use the asm
kernel, which is not understood by GNU as 1.38

At the end of this e-mail, an updated MACHINES
file.

*** pari-2.0.9.alpha/Configure.orig	Thu Jun 11 16:47:33 1998
--- pari-2.0.9.alpha/Configure	Mon Jun 29 14:48:15 1998
***************
*** 298,306 ****
    sparcv9)       asmarch=sparcv8_micro; pretty=UltraSparc ;;
    m68k)          asmarch=$arch;         pretty="MC680x0, x>=2" ;;
    i?86)          asmarch=ix86 ;         pretty=$arch ;;
!   hppa) case "`uname -r`" in
!         ?.09.*)  asmarch=none ;         pretty=HP ;;
!         ?.10.*)  asmarch=$arch;         pretty=HP ;;
          esac ;;
    alpha)         asmarch=$arch;         pretty=Alpha ;;
    mips)          asmarch=none ;         pretty=Mips ;;
--- 298,307 ----
    sparcv9)       asmarch=sparcv8_micro; pretty=UltraSparc ;;
    m68k)          asmarch=$arch;         pretty="MC680x0, x>=2" ;;
    i?86)          asmarch=ix86 ;         pretty=$arch ;;
!   hppa)          asmarch=none ;         pretty=HP
!         case "$osname-`uname -r`" in
!         hpux-?.09.*)  asmarch=none  ;;
!         hpux-?.10.*)  asmarch=$arch ;;
          esac ;;
    alpha)         asmarch=$arch;         pretty=Alpha ;;
    mips)          asmarch=none ;         pretty=Mips ;;


=============== pari-2.0.9.alpha/MACHINES =================
This file gives information about architectures/operating systems GP has been
compiled on. If your configuration is not listed, it only means that nobody
sent us information about it, definitely not that building won't work a
priori. If indeed GP builds successfuly, we'd be very happy if you could
notify us (including a line analogous to the ones below), so that we can
accordingly expand the list.

General notes:
- Arch
 a star (*) in the first column means GP was built using portable kernel.

- Configure
 dl2 = install() available in gp-dyn / gp-sta.
 dl  = install() available in gp-dyn only.
 not available at all otherwise.
 Note that symbols from C++ modules will have a mangled name. Use 
 extern "C" {...} declarations if you want to import them with install()

- Bench, as output by `make bench'
 can vary with load, available memory, compiler version ...
 is not the actual time spent: bench "nfields" is weighted by 1/5.
 If dyn is empty, shared library libpari.so couldn't be built.

- Contributors
 EK = Emmanuel Kowalski
 GN = Gerhard Niklasch
 JC = John Cremona
 LG = Louis Granboulan
 MS = Michael Stoll
 TP = Thomas Papanikolaou

                                                  Bench (in ms)
Arch / proc:           OS:           Configure:     sta:    dyn:  GP version: 
==============================================================================
DEC/Alpha
alpha21164   600MHz    OSF1-T4.0     cc  X11 dl2    5692    5986   2.0.9    LG
alpha21164   533Mhz    Linux 2.0.34  gcc X11 dl2    6511    6685   2.0.9    JC
alpha21164   500Mhz    Linux-2.0.33  gcc X11 dl2    6987    7073   2.0.9    LG
alpha21064   233Mhz    OSF1-3.0      cc  X11 dl2   44657   48595   2.0.9
alpha21064   172Mhz    OSF1-3.0      cc  X11 dl2   44657   48595   2.0.9
------------------------------------------------------------------------------
Sun/SPARC
UltraSPARC2i 270MHz    Solaris-2.6   gcc X11 dl2    8750    9436   2.0.9    LG
UltraSPARC   167MHz    Solaris-2.6   gcc X11 dl2   12664   12992   2.0.9
UltraSPARC   167MHz    Solaris-2.5   g++ X11 dl2   13524   13152   2.0.7 (7)
UltraSPARC   167MHz    Solaris-2.5   cc  X11 dl2   18010   18673   2.0.6
SuperSPARC2   75MHz    Solaris-2.5   gcc X11 dl2   21167   20431   2.0.9    LG
SuperSPARC    50MHz    SunOS-4.1.3   gcc X11 dl2   37318   37160   2.0.9
SuperSPARC    40Mhz    Solaris-2.5   gcc X11 dl2   45675   44832   2.0.9
TurboSPARC   170MHz    Solaris-2.5   gcc X11 dl2   15907   16529   2.0.9    LG
MicroSPARC2  110MHz    NextStep-v3   cc    -   -   37794       -   2.0.9    LG
MicroSPARC2  110MHz    SunOS-4.1.4   gcc X11 dl2   31476   32123   2.0.9    LG
MicroSPARC2   70MHz    Solaris-2.5   gcc X11 dl2   31919   31693   2.0.9
SPARCv7(SS2)  40MHz    SunOS-4.1.3   gcc X11 dl   115212  115364   2.0.9    LG
SPARCv7(ELC)  33MHz    SunOS-4.1.1   gcc X11   -  139406       -   2.0.8
------------------------------------------------------------------------------
Intel/x86
PentiumII    300MHz    NextStep-3.3  cc    -   -    6426       -   2.0.8    LG
Pentium      266Mhz    Linux-2.0.29  gcc X11 dl2    9526    9594   2.0.9
PentiumPro   200MHz    Linux-2.0.27  gcc X11 dl2   12088   12214   2.0.4k
Pentium      200Mhz    NextStep-3.3  cc    -   -   16035       -   2.0.6    MS
Pentium      166MHz    Solaris-2.6   gcc X11 dl2   17414   18006   2.0.9
Pentium      133MHz    Linux-1.2.8   gcc X11   -   20310       -   2.0.9 (5)GN
486dx2        50MHz    Linux-2.0.33  gcc X11 dl2  213710  216224   2.0.9    LG
*i860         40MHz    Concentrix    cc  X11   -  147989       -   2.0.9    LG
------------------------------------------------------------------------------
Motorola
*MC68040      25MHz    NextStep-v2   cc    -   -  250542       -   2.0.9    LG
MC68030       25MHz    SunOS-4.0.3   gcc X11   -  683736  685248   2.0.9 (4)
*MC68030      25MHz    SunOS-4.0.3   gcc X11   - 1034136 1038368   2.0.9
------------------------------------------------------------------------------
IBM/POWER,PowerPC
*PPC604e     233MHz    AIX-4.2       cc  X11   -   10926       -   2.0.9 (3)GN
*PPC604      133MHz    AIX-4.2       cc  X11   -   21528       -   2.0.4 (3)GN
*PPC601      100MHz    AIX-4.1       cc  X11   -   21692       -   2.0.4 (3)GN
*PPC601       75MHz    Linux-2.1.24  gcc   - dl2   51810   52702   2.0.9    EK
*PPC601       66MHz    AIX-3.2.5     cc  X11   -   66280       -   2.0.4 (3)GN
*POWER2       66MHz    AIX-4.2       cc  X11   -   37592       -   2.0.4 (3)GN
------------------------------------------------------------------------------
SGI/MIPS
*R4000     50/70MHz    IRIX-5.2      gcc X11 dl2   70764   70114   2.0.9 (1)TP
*R4000     50/70MHz    IRIX-5.2      cc  X11 dl2   81467   80176   2.0.9 (2)TP
------------------------------------------------------------------------------
HP/PA-RISC
HPPA9000/720   ???     HPUX-10.20    cc    -   -   66138       -   2.0.9
*HPPA9000/720  ???     HPUX-10.20    cc    -   -  101114  119626   2.0.9
*HPPA9000/712  ???     HPUX-10.10    gcc   -   -   66328   71250   2.0.5 (6)
*HPPA7100LC  60MHz     NextStep-v3   cc    -   -   76601       -   2.0.9    LG
*HPPA7000    50MHz     HPUX-09.05    cc  X11   -  113406  152778   2.0.9    LG
------------------------------------------------------------------------------

Notes: 
======
(1) uncomment the last PLOTLIBS= in Makefile
(2) same as above, compiled with cc -O2
(3) AIX/POWER versions built with cc options including
      -qarch=com -qtune=601 (any other tuning makes them slower)
(4) Slightly different results in make bench (last decimal different in 
    3 tests, due to a different mulsr())
(5) built with gcc 2.7.2p -O6
(6) gcc -fPIC (otherwise /usr/bin/ld will not link the shared library)
(7) the `program' bench fails on "install(addii)". But if the symbol addii
    is declared within extern "C" {} in paridecl.h, it works.