aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-01-06 05:03:46 +0000
committerDoug Evans <dje@google.com>2010-01-06 05:03:46 +0000
commitec11f05583d63315b43233e9c76cbb876b3d5e76 (patch)
tree6cc8b124c550e331d3fc55f25cf7e1bf4c42799a /sim
parent7a697b8dd7ac3c14e35ae3026d955aeae3ecc054 (diff)
downloadfsf-binutils-gdb-ec11f05583d63315b43233e9c76cbb876b3d5e76.zip
fsf-binutils-gdb-ec11f05583d63315b43233e9c76cbb876b3d5e76.tar.gz
fsf-binutils-gdb-ec11f05583d63315b43233e9c76cbb876b3d5e76.tar.bz2
* cgen-types.h (SETDI): Delete, unused.
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/cgen-types.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index b94c40b..7bf5434 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-05 Doug Evans <dje@sebabeach.org>
+
+ * cgen-types.h (SETDI): Delete, unused.
+
2009-12-02 Doug Evans <dje@sebabeach.org>
* cgen-engine.h: Remove duplicated comment.
diff --git a/sim/common/cgen-types.h b/sim/common/cgen-types.h
index c4facea..56b4305 100644
--- a/sim/common/cgen-types.h
+++ b/sim/common/cgen-types.h
@@ -80,7 +80,6 @@ typedef unsigned64 UDI;
#define GETHIDI(di) ((SI) ((UDI) (di) >> 32))
#define SETLODI(di, val) ((di) = (((di) & 0xffffffff00000000LL) | (val)))
#define SETHIDI(di, val) ((di) = (((di) & 0xffffffffLL) | (((DI) (val)) << 32)))
-#define SETDI(di, hi, lo) ((di) = MAKEDI (hi, lo))
#define MAKEDI(hi, lo) ((((DI) (SI) (hi)) << 32) | ((UDI) (USI) (lo)))
#else
/* DI mode support if "long long" doesn't exist.
@@ -94,7 +93,6 @@ typedef DI UDI;
#define GETHIDI(di) ((di).hi)
#define SETLODI(di, val) ((di).lo = (val))
#define SETHIDI(di, val) ((di).hi = (val))
-#define SETDI(di, hi, lo) ((di) = MAKEDI (hi, lo))
extern DI make_struct_di (SI, SI);
#define MAKEDI(hi, lo) (make_struct_di ((hi), (lo)))
#endif