Home
last modified time | relevance | path

Searched refs:s1 (Results 1 – 25 of 513) sorted by relevance

12345678910>>...21

/openbmc/qemu/tests/tcg/i386/
H A Dtest-i386-shift.h11 #define EXECSHIFT(size, rsize, res, s1, s2, flags) \ argument
18 : "r" (s1), "0" (res), "1" (flags));
20 #define EXECSHIFT(size, rsize, res, s1, s2, flags) \ argument
27 : "c" (s1), "0" (res), "1" (flags));
31 void exec_opq(long s2, long s0, long s1, long iflags) in exec_opq() argument
36 EXECSHIFT("q", "", res, s1, s2, flags); in exec_opq()
38 if (s1 != 1) in exec_opq()
41 stringify(OP) "q", s0, s1, res, iflags, flags & CC_MASK); in exec_opq()
45 void exec_opl(long s2, long s0, long s1, long iflags) in exec_opl() argument
50 EXECSHIFT("l", "k", res, s1, s2, flags); in exec_opl()
[all …]
H A Dtest-i386.h8 #define EXECOP2(size, rsize, res, s1, flags) \ argument
15 : "q" (s1), "0" (res), "1" (flags)); \
17 stringify(OP) size, s0, s1, res, iflags, flags & CC_MASK);
32 void exec_opq(long s0, long s1, long iflags) in exec_opq() argument
41 void exec_opl(long s0, long s1, long iflags) in exec_opl() argument
49 void exec_opw(long s0, long s1, long iflags) in exec_opw() argument
57 void exec_opb(long s0, long s1, long iflags) in exec_opb() argument
66 void exec_opq(long s0, long s1, long iflags) in exec_opq() argument
71 EXECOP2("q", "", res, s1, flags); in exec_opq()
75 void exec_opl(long s0, long s1, long iflags) in exec_opl() argument
[all …]
H A Dtest-i386-muldiv.h4 long res, s1, s0, flags; in glue() local
6 s1 = op1; in glue()
15 : "q" (s1), "0" (res), "1" (flags)); in glue()
17 stringify(OP) "b", s0, s1, res, flags & CC_MASK); in glue()
22 long res, s1, flags, resh; in glue() local
23 s1 = op1; in glue()
33 : "q" (s1), "0" (res), "1" (flags), "2" (resh)); in glue()
35 stringify(OP) "w", op0h, op0, s1, resh, res, flags & CC_MASK); in glue()
40 long res, s1, flags, resh; in glue() local
41 s1 = op1; in glue()
[all …]
/openbmc/qemu/tests/tcg/s390x/
H A Dclst.c5 static int clst(char sep, const char **s1, const char **s2) in clst() argument
7 const char *r1 = *s1; in clst()
20 *s1 = r1; in clst()
30 const char *s1; member
38 .s1 = "aa",
46 .s1 = "a\x01",
54 .s1 = "abc\x02",
64 const char *s1, *s2; in main() local
70 s1 = t->s1; in main()
72 cc = clst(t->sep, &s1, &s2); in main()
[all …]
/openbmc/qemu/target/sparc/
H A Dvis_helper.c103 VIS32 s1, s2; in helper_fpmerge() local
106 s1.l = src1; in helper_fpmerge()
110 d.VIS_B64(7) = s1.VIS_B32(3); in helper_fpmerge()
112 d.VIS_B64(5) = s1.VIS_B32(2); in helper_fpmerge()
114 d.VIS_B64(3) = s1.VIS_B32(1); in helper_fpmerge()
116 d.VIS_B64(1) = s1.VIS_B32(0); in helper_fpmerge()
227 VIS64 s1, s2; in helper_fcmple8() local
230 s1.ll = src1; in helper_fcmple8()
234 r |= (s1.VIS_SB64(i) <= s2.VIS_SB64(i)) << i; in helper_fcmple8()
246 VIS64 s1, s2; in helper_fcmpule8() local
[all …]
/openbmc/linux/arch/ia64/lib/
H A Didiv64.S29 # define INT_TO_FP(a,b) fcvt.xuf.s1 a=b
30 # define FP_TO_INT(a,b) fcvt.fxu.trunc.s1 a=b
34 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
51 frcpa.s1 f11, p6 = f8, f9 // y0 = frcpa(b)
53 (p6) fmpy.s1 f7 = f8, f11 // q0 = a*y0
54 (p6) fnma.s1 f6 = f9, f11, f1 // e0 = -b*y0 + 1
56 (p6) fma.s1 f10 = f7, f6, f7 // q1 = q0*e0 + q0
57 (p6) fmpy.s1 f7 = f6, f6 // e1 = e0*e0
62 (p6) fma.s1 f10 = f10, f7, f10 // q2 = q1*e1 + q1
63 (p6) fma.s1 f6 = f11, f6, f11 // y1 = y0*e0 + y0
[all …]
H A Didiv32.S30 # define INT_TO_FP(a,b) fcvt.xuf.s1 a=b
31 # define FP_TO_INT(a,b) fcvt.fxu.trunc.s1 a=b
36 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
61 frcpa.s1 f6, p6 = f8, f9 // y0 = frcpa(b)
63 (p6) fmpy.s1 f8 = f8, f6 // q0 = a*y0
64 (p6) fnma.s1 f6 = f9, f6, f1 // e0 = -b*y0 + 1
69 (p6) fma.s1 f8 = f6, f8, f8 // q1 = e0*q0 + q0
70 (p6) fma.s1 f6 = f6, f6, f7 // e1 = e0*e0 + 2^-34
75 (p6) fma.s1 f6 = f6, f8, f8 // q2 = e1*q1 + q1
H A Dxor.S33 .rotr s1[6+1], s2[6+1], d[2]
36 (p[0]) ld8.nta s1[0] = [r16], 8
38 (p[6]) xor d[0] = s1[6], s2[6]
72 .rotr s1[6+1], s2[6+1], s3[6+1], d[2]
75 (p[0]) ld8.nta s1[0] = [r16], 8
77 (p[6]) xor d[0] = s1[6], s2[6]
114 .rotr s1[6+1], s2[6+1], s3[6+1], s4[6+1], d[2]
117 (p[0]) ld8.nta s1[0] = [r16], 8
119 (p[6]) xor d[0] = s1[6], s2[6]
159 .rotr s1[6+1], s2[6+1], s3[6+1], s4[6+1], s5[6+1], d[2]
[all …]
/openbmc/linux/arch/loongarch/kernel/
H A Drelocate_kernel.S34 PTR_L s1, s0, 0
38 andi s2, s1, IND_DESTINATION
41 and s3, s1, t0 /* store destination addr in s3 */
46 andi s2, s1, IND_INDIRECTION
49 and s0, s1, t0
54 andi s2, s1, IND_DONE
60 andi s2, s1, IND_SOURCE
63 and s1, s1, t0
68 REG_L s4, s1, 0
71 PTR_ADDI s1, s1, SZREG
/openbmc/qemu/crypto/
H A Daes.c1451 u32 s0, s1, s2, s3, t0, t1, t2, t3; in AES_encrypt() local
1464 s1 = GETU32(in + 4) ^ rk[1]; in AES_encrypt()
1469 …t0 = AES_Te0[s0 >> 24] ^ AES_Te1[(s1 >> 16) & 0xff] ^ AES_Te2[(s2 >> 8) & 0xff] ^ AES_Te3[s3 & 0x… in AES_encrypt()
1470 …t1 = AES_Te0[s1 >> 24] ^ AES_Te1[(s2 >> 16) & 0xff] ^ AES_Te2[(s3 >> 8) & 0xff] ^ AES_Te3[s0 & 0x… in AES_encrypt()
1471 …[s2 >> 24] ^ AES_Te1[(s3 >> 16) & 0xff] ^ AES_Te2[(s0 >> 8) & 0xff] ^ AES_Te3[s1 & 0xff] ^ rk[ 6]; in AES_encrypt()
1472 …t3 = AES_Te0[s3 >> 24] ^ AES_Te1[(s0 >> 16) & 0xff] ^ AES_Te2[(s1 >> 8) & 0xff] ^ AES_Te3[s2 & 0x… in AES_encrypt()
1475s1 = AES_Te0[t1 >> 24] ^ AES_Te1[(t2 >> 16) & 0xff] ^ AES_Te2[(t3 >> 8) & 0xff] ^ AES_Te3[t0 & 0x… in AES_encrypt()
1479 …t0 = AES_Te0[s0 >> 24] ^ AES_Te1[(s1 >> 16) & 0xff] ^ AES_Te2[(s2 >> 8) & 0xff] ^ AES_Te3[s3 & 0x… in AES_encrypt()
1480 …t1 = AES_Te0[s1 >> 24] ^ AES_Te1[(s2 >> 16) & 0xff] ^ AES_Te2[(s3 >> 8) & 0xff] ^ AES_Te3[s0 & 0x… in AES_encrypt()
1481 …[s2 >> 24] ^ AES_Te1[(s3 >> 16) & 0xff] ^ AES_Te2[(s0 >> 8) & 0xff] ^ AES_Te3[s1 & 0xff] ^ rk[14]; in AES_encrypt()
[all …]
/openbmc/linux/arch/s390/lib/
H A Dstring.c210 int strcmp(const char *s1, const char *s2) in strcmp() argument
223 : [ret] "+&d" (ret), [s1] "+&a" (s1), [s2] "+&a" (s2) in strcmp()
231 static inline int clcle(const char *s1, unsigned long l1, in clcle() argument
234 union register_pair r1 = { .even = (unsigned long)s1, .odd = l1, }; in clcle()
255 char *strstr(const char *s1, const char *s2) in strstr() argument
261 return (char *) s1; in strstr()
262 l1 = __strend(s1) - s1; in strstr()
266 cc = clcle(s1, l2, s2, l2); in strstr()
268 return (char *) s1; in strstr()
269 s1++; in strstr()
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_ecc.c136 uint8_t s0, s1, s2; in nand_correct_data() local
138 s1 = calc_ecc[0] ^ read_ecc[0]; in nand_correct_data()
141 if ((s0 | s1 | s2) == 0) in nand_correct_data()
146 ((s1 ^ (s1 >> 1)) & 0x55) == 0x55 && in nand_correct_data()
151 byteoffs = (s1 << 0) & 0x80; in nand_correct_data()
152 byteoffs |= (s1 << 1) & 0x40; in nand_correct_data()
153 byteoffs |= (s1 << 2) & 0x20; in nand_correct_data()
154 byteoffs |= (s1 << 3) & 0x10; in nand_correct_data()
170 if(countbits(s0 | ((uint32_t)s1 << 8) | ((uint32_t)s2 <<16)) == 1) in nand_correct_data()
/openbmc/linux/fs/ntfs3/
H A Dupcase.c36 int ntfs_cmp_names(const __le16 *s1, size_t l1, const __le16 *s2, size_t l2, in ntfs_cmp_names() argument
46 for (; len; s1++, s2++, len--) { in ntfs_cmp_names()
47 diff1 = le16_to_cpu(*s1) - le16_to_cpu(*s2); in ntfs_cmp_names()
58 for (; len; s1++, s2++, len--) { in ntfs_cmp_names()
59 diff2 = upcase_unicode_char(upcase, le16_to_cpu(*s1)) - in ntfs_cmp_names()
72 const u16 *s1 = uni1->name; in ntfs_cmp_names_cpu() local
83 for (; len; s1++, s2++, len--) { in ntfs_cmp_names_cpu()
84 diff1 = *s1 - le16_to_cpu(*s2); in ntfs_cmp_names_cpu()
95 for (; len; s1++, s2++, len--) { in ntfs_cmp_names_cpu()
96 diff2 = upcase_unicode_char(upcase, *s1) - in ntfs_cmp_names_cpu()
/openbmc/linux/tools/perf/tests/
H A Dsample-parsing.c21 if (s1->m != s2->m) { \
28 if (memcmp(&s1->m, &s2->m, sizeof(s1->m))) { \
43 static bool samples_same(const struct perf_sample *s1, in samples_same() argument
89 for (i = 0; i < s1->read.group.nr; i++) { in samples_same()
103 for (i = 0; i < s1->callchain->nr; i++) in samples_same()
109 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same()
118 for (i = 0; i < s1->branch_stack->nr; i++) { in samples_same()
129 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); in samples_same()
133 if (s1->user_regs.abi && in samples_same()
134 (!s1->user_regs.regs || !s2->user_regs.regs || in samples_same()
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c34 int test_memcmp(const void *s1, const void *s2, size_t n);
37 static void test_one(char *s1, char *s2, unsigned long max_offset, in test_one() argument
47 y = memcmp(s1+offset, s2+offset, size); in test_one()
48 x = test_memcmp(s1+offset, s2+offset, size); in test_one()
55 printf("%02x ", s1[i]); in test_one()
66 offset, size, s1, s2, vmx_count); in test_one()
77 char *p, *s1, *s2; in testcase() local
89 s1 = p + MAP_SIZE - alloc_size; in testcase()
101 char *rand_s1 = s1; in testcase()
105 s1[j] = random(); in testcase()
[all …]
/openbmc/linux/arch/x86/boot/
H A Dstring.c32 int memcmp(const void *s1, const void *s2, size_t len) in memcmp() argument
36 : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp()
43 int bcmp(const void *s1, const void *s2, size_t len) in bcmp() argument
45 return memcmp(s1, s2, len); in bcmp()
50 const unsigned char *s1 = (const unsigned char *)str1; in strcmp() local
54 while (*s1 || *s2) { in strcmp()
55 delta = *s1 - *s2; in strcmp()
58 s1++; in strcmp()
171 char *strstr(const char *s1, const char *s2) in strstr() argument
177 return (char *)s1; in strstr()
[all …]
/openbmc/linux/include/linux/
H A Dzutil.h57 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;}
82 unsigned long s1 = adler & 0xffff; in zlib_adler32() local
97 s1 += *buf++; in zlib_adler32()
98 s2 += s1; in zlib_adler32()
100 s1 %= BASE; in zlib_adler32()
103 return (s2 << 16) | s1; in zlib_adler32()
/openbmc/linux/arch/sparc/include/asm/
H A Dprom.h24 #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l)) argument
25 #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2)) argument
26 #define of_node_cmp(s1, s2) strcmp((s1), (s2)) argument
/openbmc/u-boot/include/dm/
H A Dof.h120 #define of_compat_cmp(s1, s2, l) strcasecmp((s1), (s2)) argument
121 #define of_prop_cmp(s1, s2) strcmp((s1), (s2)) argument
122 #define of_node_cmp(s1, s2) strcasecmp((s1), (s2)) argument
/openbmc/linux/arch/arm64/kernel/pi/
H A Dkaslr_early.c19 static char *__strstr(const char *s1, const char *s2) in __strstr() argument
25 return (char *)s1; in __strstr()
26 l1 = strlen(s1); in __strstr()
29 if (!memcmp(s1, s2, l2)) in __strstr()
30 return (char *)s1; in __strstr()
31 s1++; in __strstr()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbtf_dump_test_case_ordering.c9 struct s1 {}; struct
22 struct s1 s1; member
27 struct s1 s1; member
/openbmc/qemu/pc-bios/vof/
H A Dlibc.c15 int strcmp(const char *s1, const char *s2) in strcmp() argument
17 while (*s1 != 0 && *s2 != 0) { in strcmp()
18 if (*s1 != *s2) { in strcmp()
21 s1 += 1; in strcmp()
25 return *s1 - *s2; in strcmp()
/openbmc/linux/lib/
H A Dtest-string_helpers.c122 struct test_string_1 s1[TEST_STRING_2_MAX_S1]; member
128 .s1 = {{
142 .s1 = {{
156 .s1 = {{
207 .s1 = {{
226 .s1 = {{
252 .s1 = {{
269 .s1 = {{
277 .s1 = {{
318 .s1 = {{
[all …]
/openbmc/linux/fs/unicode/
H A Dutf8-core.c21 const struct qstr *s1, const struct qstr *s2) in utf8_strncmp() argument
26 if (utf8ncursor(&cur1, um, UTF8_NFDI, s1->name, s1->len) < 0) in utf8_strncmp()
47 const struct qstr *s1, const struct qstr *s2) in utf8_strncasecmp() argument
52 if (utf8ncursor(&cur1, um, UTF8_NFDICF, s1->name, s1->len) < 0) in utf8_strncasecmp()
77 const struct qstr *s1) in utf8_strncasecmp_folded() argument
83 if (utf8ncursor(&cur1, um, UTF8_NFDICF, s1->name, s1->len) < 0) in utf8_strncasecmp_folded()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Dstring.c50 char *strstr(const char *s1, const char *s2) in strstr() argument
56 return (char *)s1; in strstr()
57 l1 = strlen(s1); in strstr()
60 if (!memcmp(s1, s2, l2)) in strstr()
61 return (char *)s1; in strstr()
62 s1++; in strstr()

12345678910>>...21