|
Message
From: Matjaz Breskvar<phoenix@o...>
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.
|
 |