Define EXTEND15().
authorAndrew Cagney <cagney@redhat.com>
Wed, 15 Apr 1998 06:45:19 +0000 (06:45 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 15 Apr 1998 06:45:19 +0000 (06:45 +0000)
sim/common/ChangeLog
sim/common/sim-bits.h

index a026ab1e00992606d3d7cf605a9f476e54119a54..9318731bcfdbb78a881bf636ad8a3228fe52c959 100644 (file)
@@ -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
index 96147e41fc1873f83f754f613ad7e0612e175f3b..43ab8355321dde85ad8975c6aecdc48143c68eb8 100644 (file)
@@ -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))
This page took 0.029073 seconds and 4 git commands to generate.