This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rx sim] add decode cache


On Thursday, July 29, 2010 14:41:38 DJ Delorie wrote:
> This patch is a performance improvement for the RX simulator.  It
> stores the opcode decode information from libopcodes so that any given
> opcode need not be decoded more than once.  This, and some
> optimizations in the previous patch, results in the simulator taking
> about 60% of the time it used to take to run a given program.  On a
> 3.2GHz desktop, I get an effective 12.5MHz simulated time with full
> cycle stats, 14.5MHz with just cycle tracking, and 16MHz without cycle
> tracking.

if the rx sim is ultimately built on top of opc2c, and you're caching the 
results of that, then shouldnt it be possible to keep the cache in a generic 
place where everyone using opc2c would be able to leverage it ?

also, on a semi-related note, i cant find any documentation or info in the 
archives on opc2c.  it seems to have been quietly merged with the rx port and 
not really given any public info.  looking at the rx opc file, it seems like 
it'd be useful to port some peeps over to it.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]