From: Jeff Law Date: Mon, 6 Jul 1998 21:55:37 +0000 (+0000) Subject: * sim-bits.h (EXTEND24): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=658fb0c743647fbca5da29380be021723b58d042;p=binutils-gdb.git * sim-bits.h (EXTEND24): Define. --- diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index d1cfb2b8790..0000df4a936 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,7 @@ +Mon Jul 6 15:51:14 1998 Jeffrey A Law (law@cygnus.com) + + * sim-bits.h (EXTEND24): Define. + Thu Jul 2 17:13:25 1998 Doug Evans * cgen-sim.h (CPU_SCACHE): Make size unsigned. diff --git a/sim/common/sim-bits.h b/sim/common/sim-bits.h index 43ab8355321..8114f6b0512 100644 --- a/sim/common/sim-bits.h +++ b/sim/common/sim-bits.h @@ -461,8 +461,10 @@ INLINE_SIM_BITS(unsigned_word) MSINSERTED (unsigned_word val, int start, int sto #define EXTEND4(X) (LSSEXT ((X), 3)) #define EXTEND5(X) (LSSEXT ((X), 4)) #define EXTEND8(X) ((signed_word)(signed8)(X)) +#define EXTEND11(X) (LSSEXT ((X), 10)) #define EXTEND15(X) (LSSEXT ((X), 14)) #define EXTEND16(X) ((signed_word)(signed16)(X)) +#define EXTEND24(X) (LSSEXT ((X), 24)) #define EXTEND32(X) ((signed_word)(signed32)(X)) #define EXTEND64(X) ((signed_word)(signed64)(X))