Home
last modified time | relevance | path

Searched refs:shift (Results 1 – 25 of 103) sorted by relevance

12345

/original-bsd/usr.bin/yacc/test/
H A Dftp.output154 SP shift 37
161 SP shift 38
175 SP shift 40
189 SP shift 42
196 SP shift 43
203 SP shift 44
475 A shift 76
476 E shift 77
477 I shift 78
478 L shift 79
[all …]
/original-bsd/lib/libc/quad/
H A Dlshrdi3.c22 __lshrdi3(a, shift) in __lshrdi3() argument
24 qshift_t shift;
29 if (shift >= LONG_BITS) {
30 aa.ul[L] = shift >= QUAD_BITS ? 0 :
31 aa.ul[H] >> (shift - LONG_BITS);
33 } else if (shift > 0) {
34 aa.ul[L] = (aa.ul[L] >> shift) |
35 (aa.ul[H] << (LONG_BITS - shift));
36 aa.ul[H] >>= shift;
H A Dlshldi3.c23 __lshldi3(a, shift) in __lshldi3() argument
25 qshift_t shift;
30 if (shift >= LONG_BITS) {
31 aa.ul[H] = shift >= QUAD_BITS ? 0 :
32 aa.ul[L] << (shift - LONG_BITS);
34 } else if (shift > 0) {
35 aa.ul[H] = (aa.ul[H] << shift) |
36 (aa.ul[L] >> (LONG_BITS - shift));
37 aa.ul[L] <<= shift;
H A Dashldi3.c23 __ashldi3(a, shift) in __ashldi3() argument
25 qshift_t shift;
30 if (shift >= LONG_BITS) {
31 aa.ul[H] = shift >= QUAD_BITS ? 0 :
32 aa.ul[L] << (shift - LONG_BITS);
34 } else if (shift > 0) {
35 aa.ul[H] = (aa.ul[H] << shift) |
36 (aa.ul[L] >> (LONG_BITS - shift));
37 aa.ul[L] <<= shift;
H A Dashrdi3.c22 __ashrdi3(a, shift) in __ashrdi3() argument
24 qshift_t shift;
29 if (shift >= LONG_BITS) {
40 aa.ul[L] = shift >= QUAD_BITS ? s :
41 aa.sl[H] >> (shift - LONG_BITS);
43 } else if (shift > 0) {
44 aa.ul[L] = (aa.ul[L] >> shift) |
45 (aa.ul[H] << (LONG_BITS - shift));
46 aa.sl[H] >>= shift;
/original-bsd/old/as.tahoe/
H A Dasexpr.h13 #define shift val = yylex() macro
14 #define advance shift
20 shift
68 shift; \
90 shift; \
93 shift; /*over the REGOP*/ \
H A Dasparse.c114 shift; in yyparse()
266 shift; in yyparse()
279 shift; in yyparse()
294 shift; in yyparse()
309 shift; in yyparse()
336 shift; in yyparse()
346 shift; in yyparse()
387 shift; in yyparse()
468 shift; in yyparse()
495 shift; in yyparse()
[all …]
H A Dasexpr.c205 shift;
220 shift; in boolterm()
234 shift; in term()
250 shift; /*the LP*/ in factor()
255 shift; in factor()
259 shift; in factor()
263 shift; in factor()
267 shift; in factor()
/original-bsd/old/as.vax/
H A Dasexpr.h17 #define shift val = yylex() macro
18 #define advance shift
24 shift
72 shift; \
94 shift; \
97 shift; /*over the REGOP*/ \
H A Dasparse.c106 shift; in yyparse()
184 shift; in yyparse()
197 shift; in yyparse()
212 shift; in yyparse()
227 shift; in yyparse()
254 shift; in yyparse()
263 shift; in yyparse()
304 shift; in yyparse()
381 shift; in yyparse()
404 shift; in yyparse()
[all …]
/original-bsd/lib/libc/tahoe/fpe/
H A Dfnorm.s39 # compute the shift (r4).
41 jlss shiftr # if less then zero we shift right.
42 shlq r4,r0,r0 # else we shift left.
48 shrq r4,r0,r0 # shift right.
54 shal $EXPSHIFT,r2,r2 # shift the exponent to its proper place.
H A Dcvtud.s43 jlss shiftr # if less then zero we have to shift right.
44 shll r3,r0,r0 # else we shift left.
51 shal $EXPSHIFT,r2,r2 # shift the exponent to its proper place.
H A Dcvtfl.s47 subl2 $24,r2 # compute the shift.
50 shrl r2,r0,r0 # shift right.
55 go_on: shll r2,r0,r0 # shift right.
H A Dcvtuf.s43 jlss shiftr # if less then zero we have to shift right.
44 shll r3,r0,r0 # else we shift left.
51 shal $EXPSHIFT,r2,r2 # shift the exponent to its proper place.
H A Dcvtdl.s48 subl2 $24,r2 # compute the shift.
51 shrl r2,r0,r0 # shift right.
56 go_on: shlq r2,r0,r0 # shift right.
H A Dcvtlf.s50 jlss shiftr # if less then zero we have to shift right.
51 shll r3,r0,r0 # else we shift left.
58 shal $EXPSHIFT,r2,r2 # shift the exponent to its proper place.
H A Dcvtld.s50 jlss shiftr # if less then zero we have to shift right.
51 shll r3,r0,r0 # else we shift left.
58 shal $EXPSHIFT,r2,r2 # shift the exponent to its proper place.
/original-bsd/sys/tahoe/math/
H A DKfnorm.s40 # compute the shift (r4).
42 jlss shiftr # if less then zero we shift right.
43 shlq r4,r0,r0 # else we shift left.
49 shrq r4,r0,r0 # shift right.
55 shal $EXPSHIFT,r2,r2 # shift the exponent to its proper place.
H A DKcvtdl.s50 subl2 $24,r2 # compute the shift.
53 shrl r2,r0,r0 # shift right.
58 go_on: shlq r2,r0,r0 # shift right.
H A DKcvtld.s47 jlss shiftr # if less then zero we have to shift right.
48 shll r3,r0,r0 # else we shift left.
55 shal $EXPSHIFT,r2,r2 # shift the exponent to its proper place.
H A DKcvtfl.s46 jlss shiftr # if less then zero we have to shift right.
47 shll r3,r0,r0 # else we shift left.
54 shal $EXPSHIFT,r2,r2 # shift the exponent to its proper place.
H A DKcvtlf.s47 jlss shiftr # if less then zero we have to shift right.
48 shll r3,r0,r0 # else we shift left.
55 shal $EXPSHIFT,r2,r2 # shift the exponent to its proper place.
/original-bsd/old/yacc/
H A Dold.yaccpar56 if( yychk[ yyn=yyact[ yyn ] ] == yychar ){ /* valid shift */
95 /* find a state where "error" is a legal shift action */
100 yystate = yyact[yyn]; /* simulate a shift of "error" */
105 /* the current yyps has no shift onn "error", pop stack */
114 /* there is no state on the stack with an error shift ... abort */
120 case 3: /* no shift yet; clobber input char */
/original-bsd/lib/libc/sparc/gen/
H A Dumul.s77 mulscc %o4, %g0, %o4 ! final shift
140 mulscc %o4, %g0, %o4 ! final shift
157 sll %o4, 12, %o0 ! shift middle bits left 12
158 srl %o5, 20, %o5 ! shift low bits right 20
H A Dmul.s70 mulscc %o4, %g0, %o4 ! final shift
107 mulscc %o4, %g0, %o4 ! final shift
124 sll %o4, 12, %o0 ! shift middle bits left 12
125 srl %o5, 20, %o5 ! shift low bits right 20, zero fill at left

12345