diff options
author | Jeff Law <law@redhat.com> | 1998-07-06 21:55:37 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1998-07-06 21:55:37 +0000 |
commit | 658fb0c743647fbca5da29380be021723b58d042 (patch) | |
tree | f7d7316bbf8275f8e25291cc31ea351e3d545c7d /sim/common/sim-bits.h | |
parent | 3e75ff7efdc9adfeaf2bfd73c5424f960fd22893 (diff) | |
download | gdb-658fb0c743647fbca5da29380be021723b58d042.zip gdb-658fb0c743647fbca5da29380be021723b58d042.tar.gz gdb-658fb0c743647fbca5da29380be021723b58d042.tar.bz2 |
* sim-bits.h (EXTEND24): Define.
Diffstat (limited to 'sim/common/sim-bits.h')
-rw-r--r-- | sim/common/sim-bits.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/common/sim-bits.h b/sim/common/sim-bits.h index 43ab835..8114f6b 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)) |