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/common/sim-bits.h | |
parent | e50f526e68f36447f1e99fcfa79125b60a6b1a97 (diff) | |
download | binutils-gdb-7acc4e98d28c86c0fe0379f73aaba1a2f3444d1c.tar.gz |
Define EXTEND15().
Diffstat (limited to 'sim/common/sim-bits.h')
-rw-r--r-- | sim/common/sim-bits.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/common/sim-bits.h b/sim/common/sim-bits.h index 96147e41fc1..43ab8355321 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)) |