5 * Revision 1.1.1.1 1996/03/06 10:46:52 mclareni
9 #ifndef CERNLIB_ZEBRA_Q_SHIFT_INC
10 #define CERNLIB_ZEBRA_Q_SHIFT_INC
15 #if defined(CERNLIB_APOLLO)
16 ISHFTL (IZW,NZB) = LSHFT (IZW, NZB)
17 ISHFTR (IZW,NZB) = RSHFT (IZW, NZB)
19 #elif defined(CERNLIB_CDC)
20 ISHFTL (IZW,NZB) = SHIFT (IZW,NZB) .AND. MASK(60-NZB)
21 ISHFTR (IZW,NZB) = SHIFT (IZW.AND.MASK(60-NZB), 60-NZB)
23 #elif defined(CERNLIB_CRAY)
24 ISHFTL (IZW,NZB) = SHIFTL (IZW, NZB)
25 ISHFTR (IZW,NZB) = SHIFTR (IZW, NZB)
27 #elif (defined(CERNLIB_MSDOS))&&(defined(CERNLIB_QF_F2C))
29 C-- Note: RSHIFT is arithmetic with F2C, it cannot be used
31 ISHFTL(IZW,NZB) = LSHIFT(IZW,NZB)
32 C ISHFTR(IZW,NZB) = RSHIFT(IZW,NZB)
33 C ISHFT(IZW,NZB) = LSHIFT(IZW,NZB)
35 #elif defined(CERNLIB_QF_SIEM)
36 ISHFTL (IZW,NZB) = SHFTL (IZW, NZB)
37 ISHFTR (IZW,NZB) = SHFTR (IZW, NZB)
39 #elif defined(CERNLIB_LINUX)
40 ISHFTL (IZW,NZB) = LSHIFT (IZW,NZB)
42 #elif (defined(CERNLIB_SUN))&&(!defined(CERNLIB_BUGLRSHFT))
43 ISHFTL (IZW,NZB) = LSHIFT (IZW, NZB)
44 ISHFTR (IZW,NZB) = lrshft (IZW, NZB)
45 #elif (defined(CERNLIB_SUN))&&(defined(CERNLIB_BUGLRSHFT))
46 ISHFTL (IZW,NZB) = LSHIFT (IZW, NZB)
47 ISHFTR (IZW,NZB) = ishft (IZW,-NZB)
49 #elif defined(CERNLIB_QMVDS)
50 C ISHFTL / ISHFTR are intrinsics of vdS
53 ISHFTL (IZW,NZB) = ISHFT (IZW, NZB)
54 ISHFTR (IZW,NZB) = ISHFT (IZW,-NZB)