]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MINICERN/packlib/zebra/zebra/q_mbytor.inc
Added protection. In case IROT=0 the address Q(LQ(JROTM-IROT)) should not
[u/mrichter/AliRoot.git] / MINICERN / packlib / zebra / zebra / q_mbytor.inc
CommitLineData
fe4da5cc 1*
2* $Id$
3*
4* $Log$
5* Revision 1.1 1996/04/18 16:15:12 mclareni
6* Incorporate changes from J.Zoll for version 3.77
7*
8*
9*
10#ifndef CERNLIB_ZEBRA_Q_MBYTOR_INC
11#define CERNLIB_ZEBRA_Q_MBYTOR_INC
12*
13*
14* q_mbytor.inc
15*
16#if defined(CERNLIB_ALLIANT)
17 MBYTOR (MZ,IZW,IZP,NZB) = IOR (IZW,
18 + ishft (ISHFT(MZ,32-NZB),-33+IZP+NZB) )
19
20#elif defined(CERNLIB_APOLLO)
21 MBYTOR (MZ,IZW,IZP,NZB) = OR (IZW, RSHFT (
22 + LSHFT(MZ,32-NZB), 33-IZP-NZB) )
23
24#elif defined(CERNLIB_CDC)
25 MBYTOR (MZ,IZW,IZP,NZB) = IZW .OR.
26 + SHIFT (MZ .AND. .NOT.MASK(60-NZB),IZP-1)
27
28#elif defined(CERNLIB_CRAY)
29 MBYTOR (MZ,IZW,IZP,NZB) = IZW .OR.
30 + SHIFT (MZ.AND.MASK(128-NZB),IZP-1)
31
32#elif (defined(CERNLIB_CONVEX))&&(!defined(CERNLIB_DOUBLE))
33
34#elif (defined(CERNLIB_CONVEX))&&(defined(CERNLIB_DOUBLE))
35
36#elif defined(CERNLIB_MSDOS)
37
38#if defined(CERNLIB_QF_NDP)
39 MBYTOR (MZZ,IZZW,IZZP,NZZB) = IOR (IZZW,
40 + ishft (ISHFT(MZZ,32-NZZB),-33+IZZP+NZZB) )
41#elif defined(CERNLIB_QF_F2C)
42 MBYTOR (MZ,IZW,IZP,NZB) = OR (IZW,
43 + ishftr (LSHIFT(MZ,32-NZB),33-IZP-NZB) )
44#endif
45
46#elif defined(CERNLIB_HPUX)
47 MBYTOR (MZ,IZW,IZP,NZB) = IOR (IZW,
48 + ishft (ISHFT(MZ,32-NZB),-33+IZP+NZB) )
49
50#elif defined(CERNLIB_QF_SIEM)
51 MBYTOR (MZ,IZW,IZP,NZB) = LOR (IZW, SHFTR (
52 + SHFTL(MZ,32-NZB), 33-IZP-NZB) )
53
54#elif defined(CERNLIB_LINUX)
55 MBYTOR (MZ,IZW,IZP,NZB) = OR (IZW,
56 + ISHFTR (LSHIFT(MZ,32-NZB),33-IZP-NZB))
57
58#elif defined(CERNLIB_OS9)
59 MBYTOR (MZ,IZW,IZP,NZB) = IOR (IZW,
60 + ishft (ISHFT(MZ,32-NZB),-33+IZP+NZB) )
61
62#elif defined(CERNLIB_PDP)
63 MBYTOR (MZ,IZW,IZP,NZB) = IOR (IZW, ISHFT (
64 + ISHFT(MZ,36-NZB),-37+IZP+NZB) )
65
66#elif (defined(CERNLIB_SUN))&&(!defined(CERNLIB_BUGLRSHFT))
67 MBYTOR (MZ,IZW,IZP,NZB) = OR (IZW, lrshft (
68 + LSHIFT(MZ,32-NZB), 33-IZP-NZB))
69
70#elif defined(CERNLIB_QMVDS)
71 MBYTOR (MZ,IZW,IZP,NZB) = OR (IZW, RSHFT (
72 + LSHFT(MZ,32-NZB), 33-IZP-NZB) )
73
74#elif 1
75 MBYTOR (MZ,IZW,IZP,NZB) = IOR (IZW,
76 + ISHFT (ISHFT(MZ,32-NZB),-33+IZP+NZB) )
77#endif
78
79#endif