diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-04-15 06:45:19 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-04-15 06:45:19 +0000 |
commit | 7acc4e98d28c86c0fe0379f73aaba1a2f3444d1c (patch) | |
tree | 26471ece82966b2597fa91b121a72d7adbd0e518 /sim | |
parent | e50f526e68f36447f1e99fcfa79125b60a6b1a97 (diff) | |
download | gdb-7acc4e98d28c86c0fe0379f73aaba1a2f3444d1c.zip gdb-7acc4e98d28c86c0fe0379f73aaba1a2f3444d1c.tar.gz gdb-7acc4e98d28c86c0fe0379f73aaba1a2f3444d1c.tar.bz2 |
Define EXTEND15().
Diffstat (limited to 'sim')
-rw-r--r-- | sim/common/ChangeLog | 3 | ||||
-rw-r--r-- | sim/common/sim-bits.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index a026ab1..9318731 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -2,7 +2,8 @@ Tue Apr 14 18:49:31 1998 Andrew Cagney <cagney@b1.cygnus.com> * sim-bits.h (EXTEND4): Define. (EXTEND4): Ditto. - + (EXTEND15): Ditto. + Tue Apr 14 16:31:35 1998 John Metzler <jmetzler@cygnus.com> * sim-memopt.c (parse_addr): Sunos 4.5 does not hane strtol diff --git a/sim/common/sim-bits.h b/sim/common/sim-bits.h index 96147e4..43ab835 100644 --- a/sim/common/sim-bits.h +++ b/sim/common/sim-bits.h @@ -461,6 +461,7 @@ 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 EXTEND15(X) (LSSEXT ((X), 14)) #define EXTEND16(X) ((signed_word)(signed16)(X)) #define EXTEND32(X) ((signed_word)(signed32)(X)) #define EXTEND64(X) ((signed_word)(signed64)(X)) |