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

1234567891011>>

/netbsd-current/external/gpl3/gcc.old/dist/libgcc/config/pru/
H A Dasri.c2 Arithmetic right shift
29 int __pruabi_asri(int a, unsigned char shift) argument
32 return a >> shift;
/netbsd-current/external/gpl3/gcc/dist/libgcc/config/pru/
H A Dasri.c2 Arithmetic right shift
29 int __pruabi_asri(int a, unsigned char shift) argument
32 return a >> shift;
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/elf/
H A Dsymtab.s4 .set shift, 32
5 .set shift, shift - 1
/netbsd-current/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
H A Dishftc.c32 ishftc4 (GFC_INTEGER_4 i, GFC_INTEGER_4 shift, GFC_INTEGER_4 size) argument
36 if (shift < 0)
37 shift = shift + size;
39 if (shift == 0 || shift == size)
42 /* In C, the result of the shift operator is undefined if the right operand
49 return (i & ~mask) | ((bits << shift) & mask) | (bits >> (size - shift));
56 ishftc8 (GFC_INTEGER_8 i, GFC_INTEGER_4 shift, GFC_INTEGER_ argument
81 ishftc16(GFC_INTEGER_16 i, GFC_INTEGER_4 shift, GFC_INTEGER_4 size) argument
[all...]
/netbsd-current/external/gpl3/gcc/dist/libgfortran/intrinsics/
H A Dishftc.c32 ishftc4 (GFC_INTEGER_4 i, GFC_INTEGER_4 shift, GFC_INTEGER_4 size) argument
36 if (shift < 0)
37 shift = shift + size;
39 if (shift == 0 || shift == size)
42 /* In C, the result of the shift operator is undefined if the right operand
49 return (i & ~mask) | ((bits << shift) & mask) | (bits >> (size - shift));
56 ishftc8 (GFC_INTEGER_8 i, GFC_INTEGER_4 shift, GFC_INTEGER_ argument
81 ishftc16(GFC_INTEGER_16 i, GFC_INTEGER_4 shift, GFC_INTEGER_4 size) argument
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/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 Dmve-shift-bad.d1 #name: Invalid MVE shift instructions
2 #source: mve-shift-bad.s
4 #error_output: mve-shift-bad.l
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...]
/netbsd-current/sys/dev/sun/
H A Dbtreg.h77 #define BT_INIT(bt, shift) do { /* whatever this means.. */ \
78 (bt)->bt_addr = 0x06 << (shift); /* command reg */ \
79 (bt)->bt_ctrl = 0x73 << (shift); /* overlay plane */ \
80 (bt)->bt_addr = 0x04 << (shift); /* read mask */ \
81 (bt)->bt_ctrl = 0xff << (shift); /* color planes */ \
83 #define BT_UNBLANK(bt, x, shift) do { \
85 (bt)->bt_addr = 0 << (shift); \
87 if ((shift)) { \
91 BT_INIT((bt), (shift)); \
93 #define BT_BLANK(bt, shift) d
[all...]
/netbsd-current/common/lib/libc/quad/
H A Dashldi3.c48 * Shift a (signed) quad value left (arithmetic shift left).
49 * This is the same as logical shift left!
52 __ashldi3(quad_t a, qshift_t shift) argument
56 if (shift == 0)
59 if (shift >= INT_BITS) {
60 aa.ul[H] = aa.ul[L] << (unsigned int)(shift - INT_BITS);
63 aa.ul[H] = (aa.ul[H] << shift) |
64 (aa.ul[L] >> (INT_BITS - shift));
65 aa.ul[L] <<= shift;
H A Dlshldi3.c50 * Shift an (unsigned) quad value left (logical shift left).
51 * This is the same as arithmetic shift left!
54 __lshldi3(quad_t a, qshift_t shift)
58 if (shift == 0)
61 if (shift >= INT_BITS) {
62 aa.ul[H] = aa.ul[L] << (unsigned int)(shift - INT_BITS);
65 aa.ul[H] = (aa.ul[H] << shift) |
66 (aa.ul[L] >> (INT_BITS - shift));
67 aa.ul[L] <<= shift;
H A Dlshrdi3.c50 * Shift an (unsigned) quad value right (logical shift right).
53 __lshrdi3(quad_t a, qshift_t shift)
57 if (shift == 0)
60 if (shift >= INT_BITS) {
61 aa.ul[L] = aa.ul[H] >> (shift - INT_BITS);
64 aa.ul[L] = (aa.ul[L] >> shift) |
65 (aa.ul[H] << (unsigned int)(INT_BITS - shift));
66 aa.ul[H] >>= shift;
H A Dashrdi3.c50 * Shift a (signed) quad value right (arithmetic shift right).
53 __ashrdi3(quad_t a, qshift_t shift)
57 if (shift == 0)
60 if (shift >= INT_BITS) {
64 * Smear bits rightward using the machine's right-shift
67 * INT_BITS is undefined, so we shift (INT_BITS-1),
73 aa.ul[L] = aa.sl[H] >> (shift - INT_BITS);
76 aa.ul[L] = (aa.ul[L] >> shift) |
77 (aa.ul[H] << (unsigned int)(INT_BITS - shift));
79 aa.sl[H] >>= shift;
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/sim/testsuite/sim/bfin/
H A Dc_logi2op_log_l_shft_astat.S1 # Test ASTAT bits with logical left shift (<<=)
8 .macro __do val:req, shift:req, exp:req
12 R2 <<= \shift;
14 CHECKREG R2, (\val << \shift);
20 R2 <<= \shift;
25 .macro _do shift:req, val:req
27 .if ((\val << \shift) & 0xffffffff) == 0
28 __do \val, \shift, _AZ
30 .if (\val << \shift) == 0x80000000
31 __do \val, \shift, _A
[all...]
H A Dc_logi2op_log_r_shft_astat.S1 # Test ASTAT bits with logical right shift (>>=)
8 .macro __do val:req, shift:req, exp:req
12 R2 >>= \shift;
14 CHECKREG R2, (\val >> \shift);
20 R2 >>= \shift;
25 .macro _do shift:req, val:req
27 .if ((\val >> \shift) & 0xffffffff) == 0
28 __do \val, \shift, _AZ
30 .if (\val >> \shift) == 0x80000000
31 __do \val, \shift, _A
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/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...]
/netbsd-current/external/gpl3/gdb/dist/sim/testsuite/bfin/
H A Dc_logi2op_log_l_shft_astat.S1 # Test ASTAT bits with logical left shift (<<=)
8 .macro __do val:req, shift:req, exp:req
12 R2 <<= \shift;
14 CHECKREG R2, (\val << \shift);
20 R2 <<= \shift;
25 .macro _do shift:req, val:req
27 .if ((\val << \shift) & 0xffffffff) == 0
28 __do \val, \shift, _AZ
30 .if (\val << \shift) == 0x80000000
31 __do \val, \shift, _A
[all...]
H A Dc_logi2op_log_r_shft_astat.S1 # Test ASTAT bits with logical right shift (>>=)
8 .macro __do val:req, shift:req, exp:req
12 R2 >>= \shift;
14 CHECKREG R2, (\val >> \shift);
20 R2 >>= \shift;
25 .macro _do shift:req, val:req
27 .if ((\val >> \shift) & 0xffffffff) == 0
28 __do \val, \shift, _AZ
30 .if (\val >> \shift) == 0x80000000
31 __do \val, \shift, _A
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/hppa/parse/
H A Dregpopbug.s4 shift: .reg %sar label
6 shift2: .reg shift
9 yabba: .equ r0 + shift
/netbsd-current/external/gpl3/gdb.old/dist/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...]
/netbsd-current/external/lgpl3/gmp/dist/mpn/generic/
H A Ddiv_qr_2u_pi1.c46 mp_limb_t d1, mp_limb_t d0, int shift, mp_limb_t di)
54 ASSERT (shift > 0);
56 r2 = np[nn-1] >> (GMP_LIMB_BITS - shift);
57 r1 = (np[nn-1] << shift) | (np[nn-2] >> (GMP_LIMB_BITS - shift));
58 r0 = np[nn-2] << shift;
66 r1 |= r0 >> (GMP_LIMB_BITS - shift);
67 r0 <<= shift; local
72 rp[0] = (r1 >> shift) | (r2 << (GMP_LIMB_BITS - shift));
45 mpn_div_qr_2u_pi1(mp_ptr qp, mp_ptr rp, mp_srcptr np, mp_size_t nn, mp_limb_t d1, mp_limb_t d0, int shift, mp_limb_t di) argument
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/ssl/record/
H A Ddtls1_bitmap.c41 unsigned int shift; local
49 shift = -cmp;
50 if (shift >= sizeof(bitmap->map) * 8)
52 else if (bitmap->map & (1UL << shift))
62 unsigned int shift; local
67 shift = cmp;
68 if (shift < sizeof(bitmap->map) * 8)
69 bitmap->map <<= shift, bitmap->map |= 1UL;
74 shift = -cmp;
75 if (shift < sizeo
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/ssl/record/
H A Ddtls1_bitmap.c41 unsigned int shift; local
49 shift = -cmp;
50 if (shift >= sizeof(bitmap->map) * 8)
52 else if (bitmap->map & (1UL << shift))
62 unsigned int shift; local
67 shift = cmp;
68 if (shift < sizeof(bitmap->map) * 8)
69 bitmap->map <<= shift, bitmap->map |= 1UL;
74 shift = -cmp;
75 if (shift < sizeo
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/dwarf2/
H A Dleb.c36 int shift; local
40 shift = 0;
47 result |= ((ULONGEST) (byte & 127) << shift);
52 shift += 7;
63 int shift, num_read; local
67 shift = 0;
74 result |= ((ULONGEST) (byte & 127) << shift);
75 shift += 7;
81 if ((shift < 8 * sizeof (result)) && (byte & 0x40))
82 result |= -(((ULONGEST) 1) << shift);
[all...]

Completed in 501 milliseconds

1234567891011>>