sim: example-synacor: a simple implementation for reference
authorMike Frysinger <vapier@gentoo.org>
Thu, 10 Dec 2020 03:26:30 +0000 (22:26 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 3 Apr 2021 20:19:16 +0000 (16:19 -0400)
commit26da232cbd6dd920da9521e508e42d1a46180ab4
tree76451bdc21196c61c8c36787c74239660437b777
parenta389375f5b5fb67acdda6be028526ac44df2fbff
sim: example-synacor: a simple implementation for reference

Provide a simple example simulator for people porting to new targets
to use as a reference.  This one has the advantage of being used by
people and having a fun program available for it.

It doesn't require a special target -- the example simulators can be
built for any existing port.
34 files changed:
sim/ChangeLog
sim/configure
sim/configure.ac
sim/example-synacor/ChangeLog [new file with mode: 0644]
sim/example-synacor/Makefile.in [new file with mode: 0644]
sim/example-synacor/README [new file with mode: 0644]
sim/example-synacor/README.arch-spec [new file with mode: 0644]
sim/example-synacor/aclocal.m4 [new file with mode: 0644]
sim/example-synacor/config.in [new file with mode: 0644]
sim/example-synacor/configure [new file with mode: 0755]
sim/example-synacor/configure.ac [new file with mode: 0644]
sim/example-synacor/interp.c [new file with mode: 0644]
sim/example-synacor/sim-main.c [new file with mode: 0644]
sim/example-synacor/sim-main.h [new file with mode: 0644]
sim/testsuite/ChangeLog
sim/testsuite/example-synacor/ChangeLog [new file with mode: 0644]
sim/testsuite/example-synacor/add.s [new file with mode: 0644]
sim/testsuite/example-synacor/allinsn.exp [new file with mode: 0644]
sim/testsuite/example-synacor/and.s [new file with mode: 0644]
sim/testsuite/example-synacor/call.s [new file with mode: 0644]
sim/testsuite/example-synacor/exit-0.s [new file with mode: 0644]
sim/testsuite/example-synacor/gt.s [new file with mode: 0644]
sim/testsuite/example-synacor/isa.inc [new file with mode: 0644]
sim/testsuite/example-synacor/jmp.s [new file with mode: 0644]
sim/testsuite/example-synacor/mem.s [new file with mode: 0644]
sim/testsuite/example-synacor/mod.s [new file with mode: 0644]
sim/testsuite/example-synacor/mult.s [new file with mode: 0644]
sim/testsuite/example-synacor/not.s [new file with mode: 0644]
sim/testsuite/example-synacor/or.s [new file with mode: 0644]
sim/testsuite/example-synacor/push-pop.s [new file with mode: 0644]
sim/testsuite/example-synacor/ret.s [new file with mode: 0644]
sim/testsuite/example-synacor/set.s [new file with mode: 0644]
sim/testsuite/example-synacor/testutils.inc [new file with mode: 0644]
sim/testsuite/lib/sim-defs.exp