aboutsummaryrefslogtreecommitdiff
path: root/sim/tic80/alu.h
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/alu.h
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/alu.h')
-rw-r--r--sim/tic80/alu.h4
1 files changed, 2 insertions, 2 deletions
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) \