2 /*---------------------------------------------------------------------------+
5 | 12 byte right shift function |
7 | Copyright (C) 1992,1994,1995 |
8 | W. Metzenthen, 22 Parker St, Ormond, Vic 3163, |
9 | Australia. E-mail billm@jacobi.maths.monash.edu.au |
12 | void shr_Xsig(Xsig *arg, unsigned nr) |
14 | Extended shift right function. |
15 | Fastest for small shifts. |
16 | Shifts the 12 byte quantity pointed to by the first arg (arg) |
17 | right by the number of bits specified by the second arg (nr). |
19 +---------------------------------------------------------------------------*/
30 cmpl $32,%ecx /* shrd only works for 0..31 bits */
33 /* less than 32 bits */
35 movl (%esi),%eax /* lsl */
36 movl 4(%esi),%ebx /* midl */
37 movl 8(%esi),%edx /* msl */
54 movl 4(%esi),%eax /* midl */
55 movl 8(%esi),%edx /* msl */
70 movl 8(%esi),%eax /* msl */