delay slot and !pbb

Frank Ch. Eigler fche@redhat.com
Sun May 6 10:38:00 GMT 2001


Hi -

: I need some suggestions.  I'm working on my GNU Simulators port of
: OpenRISC.  

Okay.

: I want the simulator to be as real as the real thing as
: possible, so I decided to use a simple engine with scache and not
: pbb.  

The choice of instruction engine affects performance and complexity
of implementation, not fidelity.

: Anyone got any suggestions how I should implement the delay slot
: handling in the best way?

If you're planning to build a simulator for the gdb/sim collection,
see sim/fr30/mloop.in.  If a sid-based simulator, methinks we haven't
released to the public any ports with delay slots, but the code
involved is straightforward, and we could provide relevant excerpts
for the sid/component/cgen-cpu/CPU/CPU.cxx:step_insns function.

- FChE
-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE69YwWVZbdDOm/ZT0RAjEUAJ0Rkj/gchFJymO2cC923AEhi56M6wCeKead
StJpShTK0Mw6s3vfVGZuaZk=
=C73/
-----END PGP SIGNATURE-----


More information about the Cgen mailing list