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 | |
parent | 3e75ff7efdc9adfeaf2bfd73c5424f960fd22893 (diff) | |
download | gdb-658fb0c743647fbca5da29380be021723b58d042.zip gdb-658fb0c743647fbca5da29380be021723b58d042.tar.gz gdb-658fb0c743647fbca5da29380be021723b58d042.tar.bz2 |
* sim-bits.h (EXTEND24): Define.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/common/ChangeLog | 4 | ||||
-rw-r--r-- | sim/common/sim-bits.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index d1cfb2b..0000df4 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 <devans@seba.cygnus.com> * cgen-sim.h (CPU_SCACHE): Make size unsigned. 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)) |