new sim: Visium

Joel Brobecker brobecker@adacore.com
Wed Jan 6 04:48:00 GMT 2016


Hi Mike,

Attached is a commit which adds a simulator for the visium architecture.
The code was originally written by a customer of ours, and although
we reworked it very extensively, there are still major chunks which
we did not touch.  This can explain some of the idiosyncrasies in
the implementation, such as the "check" macro, for instance. I will
also admit that some of the code could have been written more elegantly
(IMO), but I didn't feel the need to rewrite it, since, in practice,
the code is stable and rewriting would not have any user-visible
benefit.

What's still left to do on our end is create a testsuite, which
we haven't gotten around to doing yet. But we will! :-)

Any comments on this port, while we work on the testsuite?

sim/ChangeLog:

        * configure.tgt: Add visium target handling.
        * configure: Regenerate.

sim/visium/ChangeLog:

        * Makefile.in, aclocal.m4, config.in, configure, configure.ac,
        sim-fpu.c, sim-fpu.h, sim-main.h, sim_calls.c, visium-config.c,
        visium-config.h, visium-core.c, visium-core.h, visium-defs.h,
        visium-dev-ancillary.c, visium-dev-ancillary.h,
        visium-dev-cmdline.c, visium-dev-cmdline.h, visium-dev-fpu.c,
        visium-dev-fpu.h, visium-dev-ram.c, visium-dev-ram.h,
        visium-dev-rom.c, visium-dev-rom.h, visium-dev-syscall.c,
        visium-dev-syscall.h, visium-dev.c, visium-dev.h,
        visium-processor.c, visium-processor.h, visium-program.c,
        visium-program.h, visium-ranges.c, visium-ranges.h,
        visium-storage.c, visium-storage.h, visium-trace.c,
        visium-trace.h: New file.

Thanks!
-- 
Joel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-Visium-simulator-support.patch.xz
Type: application/x-xz
Size: 138272 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20160106/25c37503/attachment.xz>


More information about the Gdb-patches mailing list