From: Steven Enderle <panic@gnets.org>
Subject: ubench result on SGI Octane  
Date: Thu, 03 Oct 2002 16:45:50 +0200  

System: SGI Octane with R10000 195Mhz CPU, 512 MB RAM 
OS: IRIX 6.5.17m 
Compiler: GCC 3.0.4 with SGI ld/as 

Makefile and compile output is included, but i am unsure about it. 

At least it did compile. 

Are there any optimized values i could use? 

Compiled without -O 
> ./ubench 
Unix Benchmark Utility v.0.3 
Copyright (C) July, 1999 PhysTech, Inc. 
Author: Sergei Viznyuk <sv@phystech.com> 
http://www.phystech.com/download/ubench.html 
IRIX64 6.5 07121149 IP30 
Ubench CPU:     7689 
Ubench MEM:     5537 
-------------------- 
Ubench AVG:     6613 

Compiled with -O2, as seen in the makefile and compile-output 
> ./ubench 
Unix Benchmark Utility v.0.3 
Copyright (C) July, 1999 PhysTech, Inc. 
Author: Sergei Viznyuk <sv@phystech.com> 
http://www.phystech.com/download/ubench.html 
IRIX64 6.5 07121149 IP30 
Ubench CPU:     7434 
Ubench MEM:    16211 
-------------------- 
Ubench AVG:    11822 


> uname -aRp 
IRIX64 h3ck 6.5 6.5.17m 07121149 IP30 mips 
> gcc --version 
3.0.4 
> hinv 
1 195 MHZ IP30 Processor 
CPU: MIPS R10000 Processor Chip Revision: 2.7 
FPU: MIPS R10010 Floating Point Chip Revision: 0.0 
Main memory size: 512 Mbytes 
Xbow ASIC: Revision 1.2 
Instruction cache size: 32 Kbytes 
Data cache size: 32 Kbytes 
Secondary unified instruction/data cache size: 1 Mbyte 
Integral SCSI controller 0: Version QL1040B (rev. 2), single ended 
Disk drive: unit 1 on SCSI controller 0 
Integral SCSI controller 1: Version QL1040B (rev. 2), single ended 
IOC3 serial port: tty1 
IOC3 serial port: tty2 
IOC3 parallel port: plp1 
Graphics board: SI 
Integral Fast Ethernet: ef0, version 1, pci 2 
Iris Audio Processor: version RAD revision 12.0, number 1 

> make 
       gcc -mabi=64 -O2 -Wall -L/usr/lib64/mips3 -c signals.c 
as: Warning: , line 0: Unknown option: -nocpp 
       gcc -mabi=64 -O2 -Wall -L/usr/lib64/mips3 -c cpubench.c 
cpubench.c: In function `cpucalc': 
cpubench.c:71: warning: implicit declaration of function `log' 
cpubench.c:72: warning: implicit declaration of function `abs' 
cpubench.c:72: warning: implicit declaration of function `sqrt' 
cpubench.c:72: warning: implicit declaration of function `cos' 
cpubench.c:72: warning: implicit declaration of function `atan' 
cpubench.c:72: warning: implicit declaration of function `sin' 
cpubench.c:74: warning: implicit declaration of function `pow' 
cpubench.c:77: warning: implicit declaration of function `exp' 
as: Warning: , line 0: Unknown option: -nocpp 
       gcc -mabi=64 -O2 -Wall -L/usr/lib64/mips3 -c membench.c 
as: Warning: , line 0: Unknown option: -nocpp 
       gcc -mabi=64 -O2 -Wall -L/usr/lib64/mips3 -c ubench.c 
as: Warning: , line 0: Unknown option: -nocpp 
       gcc -mabi=64 -O2 -Wall -L/usr/lib64/mips3  -I. -o ubench signals.o cpubench.o membench.o ubench.o -lm 
sh: strip:  not found 
*** Error code 127 (bu21) 



############################################################################### 
#                                          # 
#                 ubench Makefile                      # 
#                                          # 
#            Copyright (C) Sergei A. Viznyuk, July, 1999                    # 
#                  All rights reserved.                  # 
#                                          # 
############################################################################### 

#DEFINES=-DDEBUG 
INSTALLDIR= /usr/local/bin 

CC = gcc 
CFLAGS = -mabi=64 -O2 -Wall -L/usr/lib64/mips3 
LDFLAGS = 
INCLUDES = -I. 

objects = signals.o cpubench.o membench.o ubench.o 
utimeobjects = creadok.o cwriteok.o tlock.o utime.o 

ubench:    $(objects) 
   $(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDES) -o $@ $(objects) -lm 
   @(strip $@) 
   @(ls -l $@) 

%.o:    %.c 
   $(CC) $(CFLAGS) $(INCLUDES) -c $< 

default: ubench 

install: ubench 
   install -c -m 0555 ubench $(INSTALLDIR) 

utime:    $(utimeobjects) 
   $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ 
   @(strip $@) 
   @(ls -l $@) 

clean: 
   rm -f ubench utime $(objects) $(utimeobjects) core *~