summaryrefslogtreecommitdiff
path: root/sim/common/cgen-engine.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-18 04:08:56 -0400
committerMike Frysinger <vapier@gentoo.org>2015-04-18 04:14:38 -0400
commit7e83aa92f2d986ba60f124287a9fd1e534fbbcf8 (patch)
tree910cafbc984799297c2e8b0dc1cfe86dcf13f9c1 /sim/common/cgen-engine.h
parentb9a7202de81202af1337d2cef22db5e3b5bca665 (diff)
downloadbinutils-gdb-7e83aa92f2d986ba60f124287a9fd1e534fbbcf8.tar.gz
sim: unify sim_cia definition
Almost every target defines sim_cia the same way -- either using the address_word type directly, or a type of equivalent size. The only odd one out is sh64 (who has 32bit address_word and 64bit cia), and even that case doesn't seem to make sense. We'll put off clean up though of sh64 and at least set up a sensible default for everyone.
Diffstat (limited to 'sim/common/cgen-engine.h')
-rw-r--r--sim/common/cgen-engine.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sim/common/cgen-engine.h b/sim/common/cgen-engine.h
index 3de1407b0d9..70a4029bd4f 100644
--- a/sim/common/cgen-engine.h
+++ b/sim/common/cgen-engine.h
@@ -186,8 +186,6 @@ do { \
#if WITH_SCACHE
-#define CIA_ADDR(cia) (cia)
-
#if WITH_SCACHE_PBB
/* Return the scache pointer of the current insn. */
@@ -280,8 +278,6 @@ do { \
/* This is the "simple" engine case. */
-#define CIA_ADDR(cia) (cia)
-
#define SEM_SEM_ARG(vpc, sc) (sc)
#define SEM_NEXT_VPC(sem_arg, pc, len) ((pc) + (len))