* A few more improvements to gx jit prototype.
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 1 Dec 1998 13:28:53 +0000 (13:28 +0000)
committerFrank Ch. Eigler <fche@redhat.com>
Tue, 1 Dec 1998 13:28:53 +0000 (13:28 +0000)
commit3d7075f5f52a06393d1566a31bb1f6f6117775ce
treecb3a2a4de250201e80a7e1a22e62cad9a50ba8c0
parent1ab49c8481a99a4c1338c4d4cbc26887a0c85ad4
* A few more improvements to gx jit prototype.
[common/ChangeLog]
1998-12-01  Frank Ch. Eigler  <fche@elastic.org>
* sim-gx-run.c (sim_engine_run): Use new tgx_info struct to
collect run-time arguments to gx block.
* sim-gx.h (sim_gx_function): Corresponding signature change.
* sim-gx.c (sim_gx_compiled_block_f): Remove nonfunctional code to
again compile a gx block source file.
(sim_gx_compiled_block_dispose): Uninstall obsoleted gx block
shared libraries.
(sim_gx_block_translate): Always emit new "gx_label_NNNN" labels,
for basic block entry points, even if !__GNUC__.
[m32r-gx/ChangeLog]
1998-12-01  Frank Ch. Eigler  <fche@elastic.org>
* Makefile.in (SIM_OBJS): Don't build sim-core.o.
* configure.in: Added --enable-sim-inline support.
Look for "getenv()" function.
* configure: Rebuilt.
* config.in: Rebuilt.
* gx-translate.c: Include "sim-inline.c" for sim-core inlining.
(m32r_gx_{load,store}*): Update signature.
(tgx_emit_pre_function): Emit new "tgx_info" struct, update
callback function signatures.
(m32r_emit_*_insn): Use new callback signatures.  For all short
branches in optimized mode, emit direct "goto gx_label_NNNN".
(tgx_optimize_test): If the GX_OPTIMIZE environment variable is
set, allow its integer value to override the optimization heuristic.
* m32r-sim.h: New empty placeholder file.
* sim-main.c: New empty placeholder file.
* sim-if.c (sim_create_inferior): Use NULL instead of &abort
for unimplemented register fondling functions.
* sim-main.h: Add multiple inclusion guard.  Update callback
function signatures.
(tgx_info): New struct for collecting gx block invocation
arguments.
14 files changed:
sim/common/ChangeLog
sim/common/sim-gx-run.c
sim/common/sim-gx.c
sim/common/sim-gx.h
sim/m32r-gx/ChangeLog
sim/m32r-gx/Makefile.in
sim/m32r-gx/config.in
sim/m32r-gx/configure
sim/m32r-gx/configure.in
sim/m32r-gx/gx-translate.c
sim/m32r-gx/m32r-sim.h
sim/m32r-gx/sim-if.c
sim/m32r-gx/sim-main.c [new file with mode: 0644]
sim/m32r-gx/sim-main.h