1
2
3
4
5
6
7
8
9 #ifdef __NO_PA_HDRS
10 PA header file -- do not include this header file for non-PA builds.
11 #endif
12
13
14
15 #define Shiftdouble(left,right,amount,dest) \
16 \
17 dest = ((left) << (32-(amount))) | ((unsigned int)(right) >> (amount))
18
19
20 #define Variableshiftdouble(left,right,amount,dest) \
21 \
22 if (amount == 0) dest = right; \
23 else dest = ((((unsigned) left)&0x7fffffff) << (32-(amount))) | \
24 ((unsigned) right >> (amount))
25
26
27 #define Variable_shift_double(left,right,amount,dest) \
28 \
29 dest = (left << (32-(amount))) | ((unsigned) right >> (amount))