Searched refs:shift (Results 1 - 25 of 558) sorted by relevance

1234567891011>>

/haiku-buildtools/binutils/gas/testsuite/gas/elf/
H A Dsymtab.s4 .set shift, 32
5 .set shift, shift - 1
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/
H A Dcshift_shift_real_1.f902 ! PR 34549 - a real value was accepted for shift.
7 print *,cshift(r,shift=2.3,dim=1) ! { dg-error "must be INTEGER" }
H A Dshift-kind.f902 ! PR 22143: We didn' have shift arguments to eoshift of kind=1
16 b = cshift(a, shift=sh1)
18 b = cshift(a, shift=sh2)
21 b = eoshift(a, shift=sh1)
23 b = eoshift(a, shift=sh1, boundary=bo)
25 b = eoshift(a, shift=sh2)
27 b = eoshift(a, shift=sh2, boundary=bo)
H A Dshift-kind_2.f9024 if (any(eoshift(r,shift=s1,dim=d1) /= r1)) call abort
25 if (any(eoshift(r,shift=s2,dim=d2) /= r1)) call abort
26 if (any(eoshift(r,shift=s4,dim=d4) /= r1)) call abort
27 if (any(eoshift(r,shift=s8,dim=d8) /= r1)) call abort
28 if (any(cshift(r,shift=s1,dim=d1) /= r2)) call abort
29 if (any(cshift(r,shift=s2,dim=d2) /= r2)) call abort
30 if (any(cshift(r,shift=s4,dim=d4) /= r2)) call abort
31 if (any(cshift(r,shift=s8,dim=d8) /= r2)) call abort
H A Dpr47757-3.f909 print *, cshift(str, shift=2_16, dim=1_16)
10 print *, eoshift(str, shift=2_16, dim=1_16)
11 print *, eoshift(str, shift=2_16, boundary=s, dim=1_16)
H A Dshiftalr_1.F9077 function shifta_1 (i, shift) result(res)
79 integer :: shift local in function:shifta_1
80 res = shifta(i,shift)
82 function shiftl_1 (i, shift) result(res)
84 integer :: shift local in function:shiftl_1
85 res = shiftl(i,shift)
87 function shiftr_1 (i, shift) result(res)
89 integer :: shift local in function:shiftr_1
90 res = shiftr(i,shift)
93 function shifta_2 (i, shift) resul
95 integer :: shift local in function:shifta_2
100 integer :: shift local in function:shiftl_2
105 integer :: shift local in function:shiftr_2
111 integer :: shift local in function:shifta_4
116 integer :: shift local in function:shiftl_4
121 integer :: shift local in function:shiftr_4
127 integer :: shift local in function:shifta_8
132 integer :: shift local in function:shiftl_8
137 integer :: shift local in function:shiftr_8
143 integer :: shift local in function:ishft_1
148 integer :: shift local in function:ishft_2
153 integer :: shift local in function:ishft_4
158 integer :: shift local in function:ishft_8
[all...]
H A Dshiftalr_2.F9031 function run_shifta (i, shift) result(res)
33 integer :: shift local in function:run_shifta
34 res = shifta(i,shift)
36 function run_shiftl (i, shift) result(res)
38 integer :: shift local in function:run_shiftl
39 res = shiftl(i,shift)
41 function run_shiftr (i, shift) result(res)
43 integer :: shift local in function:run_shiftr
44 res = shiftr(i,shift)
46 function run_ishft (i, shift) resul
48 integer :: shift local in function:run_ishft
[all...]
H A Dzero_sized_1.f9011 if (any(cshift(foo,dim=1,shift=1)/= 0)) call abort
12 if (any(cshift(tempn(2:1),dim=1,shift=1)/= 0)) call abort
13 if (any(cshift(bar,shift=(/1,-1/),dim=1)/= 0)) call abort
14 if (any(cshift(bar,shift=(/1,-1/),dim=2)/= 0)) call abort
15 if (any(cshift(gee,shift=(/1,-1/),dim=1)/= 0)) call abort
16 if (any(cshift(gee,shift=(/1,-1/),dim=2)/= 0)) call abort
17 if (any(cshift(tempm(5:4,:),shift=(/1,-1/),dim=1)/= 0)) call abort
27 if (any(eoshift(foo,dim=1,shift=1)/= 0)) call abort
28 if (any(eoshift(tempn(2:1),dim=1,shift=1)/= 0)) call abort
29 if (any(eoshift(bar,shift
[all...]
H A Dshift-alloc.f9015 write(unit=line1,fmt='(10I5)') cshift(a, shift=sh)
16 write(unit=line1,fmt='(10I5)') eoshift(a, shift=sh)
17 write(unit=line1,fmt='(10I5)') eoshift(a, shift=sh, boundary=bo)
/haiku-buildtools/binutils/gas/testsuite/gas/arm/
H A Dshift-bad.l1 .*shift-bad.s: Assembler messages:
2 .*shift-bad.s:2: Error: extraneous shift as part of operand to shift insn -- `asr r0,r1,r2,ror#5'
3 .*shift-bad.s:3: Error: extraneous shift as part of operand to shift insn -- `ror r0,r1,r2,lsl r3'
4 .*shift-bad.s:7: Error: extraneous shift as part of operand to shift ins
[all...]
H A Dshift-bad.d3 # error-output: shift-bad.l
H A Dshift-bad-pc.l1 .*shift-bad-pc.s: Assembler messages:
2 .*shift-bad-pc.s:20: Warning: using r15 results in unpredictable behaviour
3 .*shift-bad-pc.s:20: Warning: using r15 results in unpredictable behaviour
4 .*shift-bad-pc.s:20: Warning: using r15 results in unpredictable behaviour
5 .*shift-bad-pc.s:20: Warning: using r15 results in unpredictable behaviour
6 .*shift-bad-pc.s:20: Warning: using r15 results in unpredictable behaviour
7 .*shift-bad-pc.s:20: Warning: using r15 results in unpredictable behaviour
8 .*shift-bad-pc.s:20: Warning: using r15 results in unpredictable behaviour
9 .*shift-bad-pc.s:20: Warning: using r15 results in unpredictable behaviour
10 .*shift
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/sh/
H A Dpr64345-1.c20 #define make_func(type,shift)\
21 int test_##type##_##_shift_##shift##_0 (type x)\
23 return ((x >> shift) ^ 1) & 1 ? -40 : -10;\
25 int test_##type##_##_shift_##shift##_1 (type x)\
27 return ((x >> shift) ^ 0) & 1 ? -40 : -10;\
29 int test_##type##_##_shift_##shift##_2 (type x)\
31 return ((x >> shift) ^ 1) & 1;\
33 int test_##type##_##_shift_##shift##_3 (type x)\
35 return ((x >> shift) ^ 0) & 1;\
37 int test_##type##_##_shift_##shift##_
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/sparc/
H A Dultrasp10.c9 an invalid shift instruction. */
12 static inline unsigned int shift(int n, unsigned int value) function
24 val = shift(32, val);
/haiku-buildtools/binutils/gas/testsuite/gas/aarch64/
H A Dshifted.s23 .macro op3_64 op, shift
24 \op x1, x2, x3, \shift #0
25 \op x1, x2, x3, \shift #1
26 \op x1, x2, x3, \shift #3
27 \op x1, x2, x3, \shift #7
28 \op x1, x2, x3, \shift #15
29 \op x1, x2, x3, \shift #31
30 \op x1, x2, x3, \shift #63
33 .macro op3_32 op, shift
34 \op w1, w2, w3, \shift #
[all...]
H A Dbitfield-bfm.s39 // <op> <Wd>, <Wn>, #<shift>
40 .macro bf_32s op, shift
41 \op wzr, w7, \shift
44 // <op> <Xd>, <Xn>, #<shift>
45 .macro bf_64s op, shift
46 \op xzr, x7, \shift
58 // shift right -> bfm
59 .macro sr2bfm signed, reg, shift, imms
60 op_bfm signed=\signed, reg=\reg, immr=\shift, imms=\imms
63 // shift lef
[all...]
/haiku-buildtools/binutils/gas/testsuite/gas/hppa/parse/
H A Dregpopbug.s4 shift: .reg %sar label
6 shift2: .reg shift
9 yabba: .equ r0 + shift
/haiku-buildtools/legacy/binutils/gas/testsuite/gas/hppa/parse/
H A Dregpopbug.s4 shift: .reg %sar label
6 shift2: .reg shift
9 yabba: .equ r0 + shift
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/ia64/
H A Dpostinc-1.c10 long shift)
17 src += shift * soff;
18 for (i = 0; i < len - shift; ++i) {
5 copy_loop_ldouble(void *xdest, const void *xsrc, long roff, long soff, long len, long shift) argument
/haiku-buildtools/binutils/gas/testsuite/gas/score/
H A Dls32ls16p.s14 .macro tran3216 insn32, insn16, shift
17 \insn32 r3, [r2, 0x4 << \shift] #32b -> 16b
18 \insn16 r3, 0x4 << \shift
20 \insn32 r4, [r2, 0xC << \shift] #32b -> 16b
21 \insn16 r4, 0xC << \shift
23 \insn32 r7, [r2, 0x12 << \shift] #32b -> 16b
24 \insn32 r7, [r2, 0x12 << \shift] #32b -> 16b
26 \insn16 r8, 0x8 << \shift
27 \insn32 r8, [r2, 0x8 << \shift] #32b -> 16b
29 \insn32 r5, [r2, 0x20 << \shift] #N
[all...]
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/template/
H A Denum6.C4 struct shift { struct
/haiku-buildtools/gcc/gmp/mpn/generic/
H A Dpre_divrem_1.c34 The main reason for a separate shift==0 case is that not all CPUs give
36 code used on shift==0. shift==0 is also reasonably common in mp_bases
39 Under shift!=0 it would be possible to call mpn_lshift to adjust the
53 mp_limb_t dinv, int shift)
68 ASSERT (shift == want_shift);
69 invert_limb (want_dinv, d_unnorm << shift);
77 d = d_unnorm << shift;
80 if (shift == 0)
101 r = ahigh << shift;
51 mpn_preinv_divrem_1(mp_ptr qp, mp_size_t xsize, mp_srcptr ap, mp_size_t size, mp_limb_t d_unnorm, mp_limb_t dinv, int shift) argument
[all...]
/haiku-buildtools/binutils/gas/testsuite/gas/i386/ilp32/elf/
H A Dsymtab.d6 .*ABS.*shift.*
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/i386/
H A Dpr36786.c10 UDItype count, shift; local
11 hi = u >> shift;
/haiku-buildtools/gcc/gcc/testsuite/go.test/test/fixedbugs/
H A Dbug363.go13 var a = (1<<i) + 4.5 // ERROR "shift of type float64|invalid.*shift"
16 var b = (1<<i) + 4.0 // ERROR "shift of type float64|invalid.*shift"

Completed in 217 milliseconds

1234567891011>>