Home | History | Annotate | Download | only in s390x

Lines Matching defs:bitpos

17 flogr1(unsigned long input, unsigned long *bitpos, unsigned long *modval,
25 "stg 2, %[bitpos]\n\t"
27 : [bitpos]"=m"(*bitpos), [modval]"=m"(*modval),
34 printf("value = %lx, bitpos = %lu, modval = %lx, cc = %d\n",
35 value, *bitpos, *modval, *cc);
41 flogr2(unsigned long input, unsigned long *bitpos, unsigned long *modval,
49 "stg 2, %[bitpos]\n\t"
51 : [bitpos]"=m"(*bitpos), [modval]"=m"(*modval),
58 printf("value = %lx, bitpos = %lu, modval = %lx, cc = %d\n",
59 value, *bitpos, *modval, *cc);
65 flogr3(unsigned long input, unsigned long *bitpos, unsigned long *modval,
73 "stg 2, %[bitpos]\n\t"
75 : [bitpos]"=m"(*bitpos), [modval]"=m"(*modval),
82 printf("value = %lx, bitpos = %lu, modval = %lx, cc = %d\n",
83 value, *bitpos, *modval, *cc);
91 unsigned long bitpos, modval, value;
97 func(value, &bitpos, &modval, &cc);
99 if (bitpos != 64) fprintf(stderr, "bitpos is wrong for %lx\n", value);
105 func(value, &bitpos, &modval, &cc);
107 if (bitpos != 63 - i) fprintf(stderr, "bitpos is wrong for %lx\n", value);
115 func(value, &bitpos, &modval, &cc);
117 if (bitpos != 63 - i) fprintf(stderr, "bitpos is wrong for %lx\n", value);