aboutsummaryrefslogtreecommitdiff
path: root/sim/tic80
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-02-03 05:39:15 +0000
committerAndrew Cagney <cagney@redhat.com>1998-02-03 05:39:15 +0000
commit37379a256bf9e85add0024d7e13f43aa0eba4282 (patch)
tree19cdf90a93fdfda5365083158138807156b533a6 /sim/tic80
parent229811d19034006249ce7e2e2b76f526557d9cc0 (diff)
downloadgdb-37379a256bf9e85add0024d7e13f43aa0eba4282.zip
gdb-37379a256bf9e85add0024d7e13f43aa0eba4282.tar.gz
gdb-37379a256bf9e85add0024d7e13f43aa0eba4282.tar.bz2
IGEN - Replace IMEM (IMEM_IMMED) macro with IMEM<insn-size> macro,
update v850, tic80 and mips simulators. IGEN - Prepend prefix to more generated symbols and macros (idecode_issue, instruction_word). IGEN - Add -Wnowith option to supress warnings about word size inflicts in input files. MIPS - Clean up Makefile.in, m16.igen, m16.dc (new), m16run.c (new) so that a mips16 simulator built using IGEN can be compiled.
Diffstat (limited to 'sim/tic80')
-rw-r--r--sim/tic80/ChangeLog5
-rw-r--r--sim/tic80/alu.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/sim/tic80/ChangeLog b/sim/tic80/ChangeLog
index a89dd25..6bd219c 100644
--- a/sim/tic80/ChangeLog
+++ b/sim/tic80/ChangeLog
@@ -1,3 +1,8 @@
+Tue Feb 3 16:25:47 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * alu.h (IMEM32, IMEM32_IMMED): Rename IMEM and IMEM_IMMED so that
+ in sync with recent igen change.
+
Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
diff --git a/sim/tic80/alu.h b/sim/tic80/alu.h
index 8d4e38b..4def0ee 100644
--- a/sim/tic80/alu.h
+++ b/sim/tic80/alu.h
@@ -38,10 +38,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
/* Bring data in from the cold */
-#define IMEM(CIA) \
+#define IMEM32(CIA) \
(sim_core_read_aligned_4(STATE_CPU (sd, 0), CIA, sim_core_execute_map, (CIA).ip))
-#define IMEM_IMMED(CIA, N) \
+#define IMEM32_IMMED(CIA, N) \
(sim_core_read_aligned_4 (STATE_CPU (sd, 0), CIA, sim_core_execute_map, (CIA).ip + 4 * (N)))
#define MEM(SIGN, EA, NR_BYTES) \