* Makefile.in (M32R_OBJS): Add cpu.o.
authorDoug Evans <dje@google.com>
Wed, 18 Feb 1998 02:26:47 +0000 (02:26 +0000)
committerDoug Evans <dje@google.com>
Wed, 18 Feb 1998 02:26:47 +0000 (02:26 +0000)
commitb8641a4d20e0b0950ceb6ef45abaafa13556a32b
treeb2c7d81dd12715b44c8526a1038f884ad5f83926
parent5bd0ca861688dd204407ad0adf16fcebd43ffa5f
* Makefile.in (M32R_OBJS): Add cpu.o.
(cpu.o): Add rule for.
(NL_TARGET): Define.
* configure.in: Add AC_CHECK_PROG(SCHEME).
* cpu.c: New file.
* cpuall.h,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
* sem-switch.c,sem.c: Regenerate.
* mloop.in (execute): Update call to semantic fn.
(M32RX_OBJS): Add cpux.o.
(cpux.o): Add rule for.
cpux.c: New file.
* cpux.h,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate.
* m32rx.c (m32rx_h_accums_{get,set}): Rewrite.
(m32rx_h_cr_{get,set}): New functions.
(m32rx_h_accums_{get,set}): New functions.
* mloopx.in: Rewrite main loop.

* m32r.c (do_trap): Move from here.
* sim-if.c (do_trap): To here, and rewrite to use CB_SYSCALL support.
(sim_create_inferior): Use h_pc_set.
(h_pc_{get,set}): New functions.
(h_gr_{get,set}): New functions.
(syscall_{read,write}_mem): New functions.
* sim-main.h (h_{gr,pc}_{get,set}): Declare.
sim/m32r/.Sanitize
sim/m32r/configure.in
sim/m32r/extract.c
sim/m32r/readx.c
sim/m32r/semx.c