]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MINICERN/packlib/kernlib/kerngen/tcgens/jbytor.F
This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / MINICERN / packlib / kernlib / kerngen / tcgens / jbytor.F
CommitLineData
fe4da5cc 1*
2* $Id$
3*
4* $Log$
5* Revision 1.1.1.1 1996/02/15 17:50:12 mclareni
6* Kernlib
7*
8*
9#include "kerngen/pilot.h"
10#if defined(CERNLIB_QMSUN)
11#include "sungs/jbytor.F"
12#else
13 FUNCTION JBYTOR (MZ,IZW,IZP,NZB)
14C
15C CERN PROGLIB# M421 JBYTOR .VERSION KERNFOR 4.23 891215
16C ORIG. 13/03/89 JZ
17C
18C This non-ANSI code is a default which may be slow, if so
19C it should be replaced by a machine-specific fast routine
20#include "kerngen/wordsize.inc"
21#if !defined(CERNLIB_QISASTD)
22#include "kerngen/q_andor.inc"
23#include "kerngen/q_shift.inc"
24* Ignoring t=pass
25#endif
26
27#if !defined(CERNLIB_QISASTD)
28 JBYTOR = IOR (MZ, ISHFTR(ISHFTL(IZW,NBITPW+1-IZP-NZB),
29 + NBITPW-NZB) )
30#endif
31#if (defined(CERNLIB_QISASTD))&&(!defined(CERNLIB_QMILSTD))
32 JBYTOR = IOR (MZ, ISHFT (ISHFT (IZW,NBITPW+1-IZP-NZB),
33 + -NBITPW+NZB) )
34#endif
35#if defined(CERNLIB_QMILSTD)
36 JBYTOR = IOR (MZ, IBITS(IZW,IZP-1,NZB))
37#endif
38 RETURN
39 END
40#endif