public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS] Arm emulator
       [not found] <000701c12bb2$898125c0$c408aa0a@inc.inventec>
@ 2001-09-07 11:43 ` Frank Ch. Eigler
  0 siblings, 0 replies; only message in thread
From: Frank Ch. Eigler @ 2001-09-07 11:43 UTC (permalink / raw)
  To: james chen; +Cc: ecos-discuss, sid

"james chen" <james_ch1@sina.com> writes on ecos-discuss:

: [...] I find that it was ARM instructions emulating that takes many
: PC CPU resource. In my PC( CE333) I only get 1 MIPS in emulating ARM
: instructions [using an enhanced gdb/arm simulator], are there any
: way to improve it. [...]

A target:host instruction ratio of 1:100 is about typical for an
instruction set simulator that uses ordinary fetch/decode/execute
algorithms.  Advanced interpretation techniques like cached decode
structures, native host translation, can help a lot, but are pretty
hard to create.

The sid simulator uses an ARM kernel generated by the cgen tool (both
on http://sources.redhat.com/ ), and it does have a small degree of
this sort of thing, but I don't know how it performs in comparison to
the old armulator snapshot (gdb's arm sim).  sid has a feature that
may assist simulation speed in an indirect way: state save/restore,
which lets you theoretically rerun a program from a saved snapshot.
That saves time in skipping e.g. initialization.

Apart from these, and simple mechanical improvements (like compiling
everything with maximum optimization), I can't think of a way of
significantly improving speed.

- FChE

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-09-07 11:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <000701c12bb2$898125c0$c408aa0a@inc.inventec>
2001-09-07 11:43 ` [ECOS] Arm emulator Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).