]>
Commit | Line | Data |
---|---|---|
fe4da5cc | 1 | * |
2 | * $Id$ | |
3 | * | |
4 | * $Log$ | |
5 | * Revision 1.1.1.1 1996/02/15 17:50:14 mclareni | |
6 | * Kernlib | |
7 | * | |
8 | * | |
9 | #include "kerngen/pilot.h" | |
10 | #if defined(CERNLIB_QMSUN) | |
11 | #include "sungs/sbytor.F" | |
12 | #else | |
13 | SUBROUTINE SBYTOR (IT,IZW,IZP,NZB) | |
14 | C | |
15 | C CERN PROGLIB# M421 SBYTOR .VERSION KERNFOR 4.23 891215 | |
16 | C ORIG. 13/03/89 JZ | |
17 | C | |
18 | C This non-ANSI code is a default which may be slow, if so | |
19 | C it should be replaced by a machine-specific fast routine | |
20 | C | |
21 | #include "kerngen/wordsize.inc" | |
22 | #include "kerngen/iall1s.inc" | |
23 | #if !defined(CERNLIB_QISASTD) | |
24 | #include "kerngen/q_andor.inc" | |
25 | #include "kerngen/q_shift.inc" | |
26 | * Ignoring t=pass | |
27 | #endif | |
28 | ||
29 | #if !defined(CERNLIB_QISASTD) | |
30 | IZW = IOR (IZW, | |
31 | + ISHFTL (IAND(IT,ISHFTR(IALL11, NBITPW-NZB)), IZP-1)) | |
32 | #endif | |
33 | #if defined(CERNLIB_QISASTD) | |
34 | IZW = IOR (IZW, | |
35 | + ISHFT (IAND(IT,ISHFT (IALL11,-NBITPW+NZB)), IZP-1)) | |
36 | #endif | |
37 | RETURN | |
38 | END | |
39 | #endif |