MiBench --BasicMath

88 views
Skip to first unread message

Yasir

unread,
Feb 2, 2009, 3:05:13 PM2/2/09
to Sunflower Tool Suite
Hi
I am running MiBench-Basicmath benchmark on SFLR and am getting this
error

[ID=0 of 1][PC=0x8000000][3.3E+00V, 6.0E+01MHz] cd "basicmath"
[ID=0 of 1][PC=0x8000000][3.3E+00V, 6.0E+01MHz] load small.m
Loading small.m...
Set memory size to 19531 Kilobytes
Open of "basicmath_small.sr" failed...

args = [], argc = 0
R4 = [0x00000000], R5 = [0x09302c00]
Running...

[ID=0 of 1][PC=0x8000000][3.3E+00V, 6.0E+01MHz] Word access (read) at
address 0x9312d00
Sunflower FATAL (node 0) : <Address not in main mem, and not in I/O
space either !>


FATAL (node 0): P.EX=[]
R0 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R1 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R2 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R3 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R4 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R5 0000 1001 0011 0000 0010 1100 0000 0000 [0x09302c00]
R6 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R7 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R8 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R9 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R10 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R11 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R12 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R13 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R14 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R15 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R_BANK_0 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R_BANK_1 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R_BANK_2 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R_BANK_3 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R_BANK_4 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R_BANK_5 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R_BANK_6 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
R_BANK_7 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
SR 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
SSR 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
GBR 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
MACH 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
MACL 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
PR 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
VBR 0000 1000 0000 0000 0000 0000 0000 0000 [0x08000000]
PC 0000 1001 0011 0001 0010 1101 0000 0000 [0x09312d00]
SPC 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
TTB 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
TEA 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
MMUCR 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
PTEH 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
PTEL 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
TRA 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
EXPEVT 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
INTEVT 0000 0000 0000 0000 0000 0000 0000 0000 [0x00000000]
SLEEP = [NO]
Stopping execution on node 0 and pausing simulation...




Any help......
Regards

Yasir

unread,
Feb 2, 2009, 3:29:23 PM2/2/09
to Sunflower Tool Suite
Sorry the BasicMath benchmark is not buildingup and giving this error

yasir@yasir-laptop:~/sunflowersim/benchmarks/source/MiBench/automotive/
basicmath$ make
/home/yasir/sunflowersim/tools/bin/sh-coff-ld -Ttext 0x08004000 -
TsuperH.ld -L../../../../../tools/tools-lib/superH -L../../../../../
sys/libOS/eOS -Map basicmath_small.map init.o rad2deg.o cubic.o
isqrt.o basicmath_small.o -o basicmath_small -lc -lm -lgcc -leOS-
superH
../../../../../tools/tools-lib/superH/libm.a(w_sqrt.o): In function
`sqrt':
w_sqrt.c:83: undefined reference to `__errno'
../../../../../tools/tools-lib/superH/libm.a(w_acos.o): In function
`acos':
w_acos.c:108: undefined reference to `__errno'
../../../../../tools/tools-lib/superH/libm.a(w_pow.o):w_pow.c:(.text
+0x300): undefined reference to `__errno'
make: *** [basicmath_small] Error 1
yasir@yasir-laptop:~/sunflowersim/benchmarks/source/MiBench/automotive/
basicmath$

Phillip Stanley-Marbell

unread,
Feb 5, 2009, 1:21:03 PM2/5/09
to sflrto...@googlegroups.com
Hi,

You can add a new function to the benchmark to provide
the needed "_errno" symbol (which is not really meaningful
in a simulation context). It is something that should
probably be added to libeOS since other benchmarks in the
future might run into it.

cheers,
phillip

Phillip Stanley-Marbell

unread,
Feb 7, 2009, 7:41:17 AM2/7/09
to sflrto...@googlegroups.com
On further inspection: The benchmarks compile just fine
using the version of the compile tools and benchmarks
checked out from hg.sflr.org.

Are you using the default tools (since your previous mail
indicated that you had trouble compiling the cross compilers)?

cheers,
phillip



On Feb 2, 2009, at 9:29 PM, Yasir wrote:

>

Yasir

unread,
Feb 12, 2009, 10:30:52 AM2/12/09
to Sunflower Tool Suite
Yes I managed to compile the default tools and am using them.
Reply all
Reply to author
Forward
0 new messages