* sim-bits.h (EXTEND24): Define.

This commit is contained in:
Jeff Law 1998-07-06 21:55:37 +00:00
parent 3e75ff7efd
commit 658fb0c743
2 changed files with 6 additions and 0 deletions

View file

@ -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.

View file

@ -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))