From ec11f05583d63315b43233e9c76cbb876b3d5e76 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 6 Jan 2010 05:03:46 +0000 Subject: [PATCH] * cgen-types.h (SETDI): Delete, unused. --- sim/common/ChangeLog | 4 ++++ sim/common/cgen-types.h | 2 -- 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 + + * cgen-types.h (SETDI): Delete, unused. + 2009-12-02 Doug Evans * 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 -- 2.7.4