|
Message
From: zhang_lsv@y...<zhang_lsv@y...>
Date: Tue Dec 21 01:13:23 CET 2004
Subject: [openrisc] OpenRisc Benchmarking
Hi, Matjaz,I found if I set the Flash Memory delayr = 2 (original is 10), the number of cycles can be heavily decreased. But is such setting reasonable ? Why is the default value 10 ?
And How to get the number of instructions totally ?
thanks
----- Original Message ----- From: Matjaz Breskvar<phoenix@o...> To: Date: Mon Dec 20 23:18:45 CET 2004 Subject: [openrisc] OpenRisc Benchmarking
> * zhang_lsv@y... (zhang_lsv@y...) wrote: > > I borrowed the Makefile from the testbench in the 'sim' > package. It > > seems not using O2 option there. Now I added -O3, and the > number of > > cycles has decreased to 7 Million, which is still 8-9 times > larger than > > others. Do any other options I can play with ? > > > > In addition to the number of cycles, how can I know the > "number of > > total instructions" so that I can compute > "IPC"? > try also -fomit-frame-pointer and be sure configure memory delays > to 0 > in the sim.cfg. > the code you have looks simple enough so i'd investigate the > assembler > to chack for hardware muls and the the code seams reasonable... > regards, > p. > >
|
 |