Searched refs:longword (Results 1 - 25 of 42) sorted by relevance

12

/netbsd-current/external/gpl3/gdb/dist/gnulib/import/
H A Drawmemchr.c36 typedef uintptr_t longword; typedef
39 verify (UINTPTR_WIDTH == UCHAR_WIDTH * sizeof (longword));
45 Do this until CHAR_PTR is aligned on a longword boundary. */
47 (uintptr_t) char_ptr % alignof (longword) != 0;
52 longword const *longword_ptr = s = char_ptr;
54 /* Compute auxiliary longword values:
57 longword repeated_one = (longword) -1 / UCHAR_MAX;
58 longword repeated_c = repeated_one * c;
59 longword repeated_hibi
[all...]
H A Dmemchr.c61 /* On 32-bit hardware, choosing longword to be a 32-bit unsigned
66 typedef unsigned long int longword; typedef
69 const longword *longword_ptr;
70 longword repeated_one;
71 longword repeated_c;
77 Do this until CHAR_PTR is aligned on a longword boundary. */
79 n > 0 && (size_t) char_ptr % sizeof (longword) != 0;
84 longword_ptr = (const longword *) char_ptr;
89 /* Compute auxiliary longword values:
95 if (0xffffffffU < (longword)
[all...]
H A Dmemrchr.c48 /* On 32-bit hardware, choosing longword to be a 32-bit unsigned
53 typedef unsigned long int longword; typedef
56 const longword *longword_ptr;
57 longword repeated_one;
58 longword repeated_c;
64 Do this until CHAR_PTR is aligned on a longword boundary. */
66 n > 0 && (size_t) char_ptr % sizeof (longword) != 0;
76 /* Compute auxiliary longword values:
82 if (0xffffffffU < (longword) -1)
86 if (8 < sizeof (longword))
[all...]
H A Dstrchrnul.c26 /* On 32-bit hardware, choosing longword to be a 32-bit unsigned
31 typedef unsigned long int longword; typedef
34 const longword *longword_ptr;
35 longword repeated_one;
36 longword repeated_c;
44 Do this until CHAR_PTR is aligned on a longword boundary. */
46 (size_t) char_ptr % sizeof (longword) != 0;
51 longword_ptr = (const longword *) char_ptr;
56 /* Compute auxiliary longword values:
62 if (0xffffffffU < (longword)
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/
H A Drawmemchr.c36 typedef uintptr_t longword; typedef
39 verify (UINTPTR_WIDTH == UCHAR_WIDTH * sizeof (longword));
45 Do this until CHAR_PTR is aligned on a longword boundary. */
47 (uintptr_t) char_ptr % alignof (longword) != 0;
52 longword const *longword_ptr = s = char_ptr;
54 /* Compute auxiliary longword values:
57 longword repeated_one = (longword) -1 / UCHAR_MAX;
58 longword repeated_c = repeated_one * c;
59 longword repeated_hibi
[all...]
H A Dmemchr.c61 /* On 32-bit hardware, choosing longword to be a 32-bit unsigned
66 typedef unsigned long int longword; typedef
69 const longword *longword_ptr;
70 longword repeated_one;
71 longword repeated_c;
77 Do this until CHAR_PTR is aligned on a longword boundary. */
79 n > 0 && (size_t) char_ptr % sizeof (longword) != 0;
84 longword_ptr = (const longword *) char_ptr;
89 /* Compute auxiliary longword values:
95 if (0xffffffffU < (longword)
[all...]
H A Dstrchrnul.c26 /* On 32-bit hardware, choosing longword to be a 32-bit unsigned
31 typedef unsigned long int longword; typedef
34 const longword *longword_ptr;
35 longword repeated_one;
36 longword repeated_c;
44 Do this until CHAR_PTR is aligned on a longword boundary. */
46 (size_t) char_ptr % sizeof (longword) != 0;
51 longword_ptr = (const longword *) char_ptr;
56 /* Compute auxiliary longword values:
62 if (0xffffffffU < (longword)
[all...]
H A Dmemrchr.c48 /* On 32-bit hardware, choosing longword to be a 32-bit unsigned
53 typedef unsigned long int longword; typedef
56 const longword *longword_ptr;
57 longword repeated_one;
58 longword repeated_c;
64 Do this until CHAR_PTR is aligned on a longword boundary. */
66 n > 0 && (size_t) char_ptr % sizeof (longword) != 0;
76 /* Compute auxiliary longword values:
82 if (0xffffffffU < (longword) -1)
86 if (8 < sizeof (longword))
[all...]
/netbsd-current/usr.sbin/memswitch/
H A Dproperties.c45 0, 4, 0, {longword:0}, 0, {longword:0}, {longword:MAGIC1},
53 4, 4, 0, {longword:0}, 0, {longword:0}, {longword:MAGIC2},
61 30, 4, 0, {longword:0}, 0, {longword:0}, {longword:0},
69 34, 4, 0, {longword
[all...]
H A Dmemswitch.h62 unsigned long longword; member in union:property::value
H A Dmethods.c233 prop->modified_value.longword = v;
285 prop->modified_value.longword = v;
354 prop->modified_value.longword = v;
595 "%ld", prop->modified_value.longword);
600 "%ld", prop->current_value.longword);
611 "0x%8.8lx", prop->modified_value.longword);
616 "0x%8.8lx", prop->current_value.longword);
641 "%ld second", prop->modified_value.longword);
646 "%ld second", prop->current_value.longword);
H A Dmemswitch.c357 if ((properties[PROP_MAGIC1].current_value.longword != MAGIC1) ||
358 (properties[PROP_MAGIC2].current_value.longword != MAGIC2))
/netbsd-current/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/
H A Dmemchr.c58 unsigned long int longword, magic_bits, charmask; local
65 Do this until CHAR_PTR is aligned on a longword boundary. */
67 n > 0 && (size_t) char_ptr % sizeof longword != 0;
88 Set CHARMASK to be a longword, each of whose bytes is C. */
96 if (8 < sizeof longword)
97 for (i = 64; i < sizeof longword * 8; i *= 2)
106 we will test a longword at a time. The tricky part is testing
107 if *any of the four* bytes in the longword in question are zero. */
108 while (n >= sizeof longword)
140 Good point. So what we do is XOR LONGWORD with a longword,
[all...]
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dmemchr.c58 unsigned long int longword, magic_bits, charmask; local
65 Do this until CHAR_PTR is aligned on a longword boundary. */
67 n > 0 && (size_t) char_ptr % sizeof longword != 0;
88 Set CHARMASK to be a longword, each of whose bytes is C. */
96 if (8 < sizeof longword)
97 for (i = 64; i < sizeof longword * 8; i *= 2)
106 we will test a longword at a time. The tricky part is testing
107 if *any of the four* bytes in the longword in question are zero. */
108 while (n >= sizeof longword)
140 Good point. So what we do is XOR LONGWORD with a longword,
[all...]
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/libgrep/
H A Dmemchr.c58 unsigned long int longword, magic_bits, charmask; local
65 Do this until CHAR_PTR is aligned on a longword boundary. */
67 n > 0 && (size_t) char_ptr % sizeof longword != 0;
88 Set CHARMASK to be a longword, each of whose bytes is C. */
96 if (8 < sizeof longword)
97 for (i = 64; i < sizeof longword * 8; i *= 2)
106 we will test a longword at a time. The tricky part is testing
107 if *any of the four* bytes in the longword in question are zero. */
108 while (n >= sizeof longword)
140 Good point. So what we do is XOR LONGWORD with a longword,
[all...]
/netbsd-current/external/gpl2/xcvs/dist/lib/
H A Dmemchr.c61 unsigned long int longword, magic_bits, charmask; local
68 Do this until CHAR_PTR is aligned on a longword boundary. */
70 n > 0 && (size_t) char_ptr % sizeof longword != 0;
91 Set CHARMASK to be a longword, each of whose bytes is C. */
99 if (8 < sizeof longword)
100 for (i = 64; i < sizeof longword * 8; i *= 2)
109 we will test a longword at a time. The tricky part is testing
110 if *any of the four* bytes in the longword in question are zero. */
111 while (n >= sizeof longword)
143 Good point. So what we do is XOR LONGWORD with a longword,
[all...]
H A Dmemrchr.c56 unsigned long int longword, magic_bits, charmask; local
63 Do this until CHAR_PTR is aligned on a longword boundary. */
65 n > 0 && (size_t) char_ptr % sizeof longword != 0;
86 Set CHARMASK to be a longword, each of whose bytes is C. */
94 if (8 < sizeof longword)
95 for (i = 64; i < sizeof longword * 8; i *= 2)
104 we will test a longword at a time. The tricky part is testing
105 if *any of the four* bytes in the longword in question are zero. */
106 while (n >= sizeof longword)
138 Good point. So what we do is XOR LONGWORD with a longword,
[all...]
/netbsd-current/external/gpl2/grep/dist/lib/
H A Dmemchr.c66 unsigned long int longword, magic_bits, charmask; local
71 Do this until CHAR_PTR is aligned on a longword boundary. */
74 & (sizeof (longword) - 1)) != 0;
94 if (sizeof (longword) != 4 && sizeof (longword) != 8)
103 /* Set up a longword, each of whose bytes is C. */
111 we will test a longword at a time. The tricky part is testing
112 if *any of the four* bytes in the longword in question are zero. */
113 while (n >= sizeof (longword))
145 Good point. So what we do is XOR LONGWORD with a longword,
[all...]
/netbsd-current/external/gpl2/diffutils/dist/lib/
H A Dmemchr.c79 unsigned long int longword, magic_bits, charmask; local
85 Do this until CHAR_PTR is aligned on a longword boundary. */
88 & (sizeof (longword) - 1)) != 0;
108 if (sizeof (longword) != 4 && sizeof (longword) != 8)
117 /* Set up a longword, each of whose bytes is C. */
125 we will test a longword at a time. The tricky part is testing
126 if *any of the four* bytes in the longword in question are zero. */
127 while (n >= sizeof (longword))
159 Good point. So what we do is XOR LONGWORD with a longword,
[all...]
/netbsd-current/lib/libc/arch/vax/gen/
H A Dalloca.S44 bicl2 $3,%sp # align to longword boundary
/netbsd-current/common/lib/libc/arch/m68k/string/
H A Dmemcmp.S63 * - longword align when possible (only on the 68020)
86 lsrl #2,%d1 | convert count to longword count
87 jeq .Lbcbloop | count 0, skip longword loop
89 CMPML((%a0)+,(%a1)+) | compare a longword
H A Dbcmp.S164 CMPML((%a0)+,(%a1)+) | compare a longword
/netbsd-current/sys/arch/m68k/060sp/
H A Dnetbsd060sp.S176 clrl %d0 |# clear whole longword
208 clrl %d0 |# clear whole longword
223 # Read an instruction longword from user memory.
226 # Read an data longword from user memory.
233 # d0 - data longword in d0
248 movel %a0@,%d0 |# fetch super longword
309 # Write a data longword to user memory.
313 # d0 - data longword in d0
329 movel %d0,%a0@ |# store super longword
/netbsd-current/sys/arch/m68k/060sp/dist/
H A Dos.s169 dmrbs: clr.l %d0 # clear whole longword
199 dmrws: clr.l %d0 # clear whole longword
213 # d0 - data longword in d0
229 dmrls: mov.l (%a0),%d0 # fetch super longword
292 # Write a data longword to user memory.
296 # d0 - data longword in d0
313 dmwls: mov.l %d0,(%a0) # store super longword
349 # Read an instruction longword from user memory.
355 # d0 - instruction longword in d0
371 imrls: mov.l (%a0),%d0 # fetch super longword
[all...]
/netbsd-current/sys/arch/m68k/m68k/
H A Dcopy.s113 * - unroll the longword copy loop (might not be good for a 68020)
114 * - longword align when possible (only on the 68020)
138 jeq .Lcibytes | count 0, skip longword loop
141 movsl (%a0)+,%d2 | copy a longword
174 * - unroll the longword copy loop (might not be good for a 68020)
175 * - longword align when possible (only on the 68020)
199 jeq .Lcobytes | count 0, skip longword loop
202 movl (%a0)+,%d2 | copy a longword

Completed in 238 milliseconds

12