Home
last modified time | relevance | path

Searched refs:src1 (Results 1 – 25 of 141) sorted by relevance

123456

/openbmc/qemu/target/i386/tcg/
H A Dcc_helper.c83 return (src1 & ~CC_C) | (dst * CC_C); in compute_all_adcx()
89 return (src1 & ~CC_O) | (src2 * CC_O); in compute_all_adox()
106 return src1; in helper_cc_compute_all()
256 return src1 & 1; in helper_cc_compute_c()
266 return src1; in helper_cc_compute_c()
272 return src1 != 0; in helper_cc_compute_c()
279 return compute_c_addb(dst, src1); in helper_cc_compute_c()
281 return compute_c_addw(dst, src1); in helper_cc_compute_c()
283 return compute_c_addl(dst, src1); in helper_cc_compute_c()
293 return compute_c_subb(dst, src1); in helper_cc_compute_c()
[all …]
H A Dcc_helper_template.h.inc47 cf = dst < src1;
67 cf = (src3 ? dst <= src1 : dst < src1);
79 return src3 ? dst <= src1 : dst < src1;
92 of = lshift((src1 ^ src2) & (src1 ^ dst), 12 - DATA_BITS) & CC_O;
109 cf = (src3 ? src1 <= src2 : src1 < src2);
114 of = lshift((src1 ^ src2) & (src1 ^ dst), 12 - DATA_BITS) & CC_O;
123 return (src3 ? src1 <= src2 : src1 < src2);
144 cf = src1;
145 src1 = dst - 1;
160 cf = src1;
[all …]
/openbmc/qemu/target/loongarch/tcg/insn_trans/
H A Dtrans_bit.c.inc13 func(dest, src1);
69 tcg_gen_not_tl(dest, src1);
82 tcg_gen_not_tl(dest, src1);
93 tcg_gen_not_tl(dest, src1);
104 tcg_gen_not_tl(dest, src1);
120 tcg_gen_shri_tl(t0, src1, 8);
122 tcg_gen_and_tl(t1, src1, mask);
133 tcg_gen_shri_tl(t0, src1, 8);
135 tcg_gen_and_tl(t1, src1, mask);
146 tcg_gen_shri_i64(t0, src1, 16);
[all …]
H A Dtrans_shift.c.inc6 static void gen_sll_w(TCGv dest, TCGv src1, TCGv src2)
10 tcg_gen_shl_tl(dest, src1, t0);
13 static void gen_srl_w(TCGv dest, TCGv src1, TCGv src2)
17 tcg_gen_shr_tl(dest, src1, t0);
20 static void gen_sra_w(TCGv dest, TCGv src1, TCGv src2)
24 tcg_gen_sar_tl(dest, src1, t0);
31 tcg_gen_shl_tl(dest, src1, t0);
38 tcg_gen_shr_tl(dest, src1, t0);
45 tcg_gen_sar_tl(dest, src1, t0);
56 tcg_gen_trunc_tl_i32(t1, src1);
[all …]
H A Dtrans_arith.c.inc14 func(dest, src1, src2);
28 func(dest, src1, src2);
41 func(dest, src1, a->imm);
55 func(dest, src1, src2, a->sa);
148 prep_divisor_d(t0, src1, src2);
149 tcg_gen_div_tl(dest, src1, t0);
155 prep_divisor_d(t0, src1, src2);
156 tcg_gen_rem_tl(dest, src1, t0);
178 tcg_gen_div_tl(dest, src1, t0);
186 tcg_gen_rem_tl(dest, src1, t0);
[all …]
H A Dtrans_memory.c.inc32 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE);
45 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE);
57 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE);
60 gen_helper_asrtgt_d(tcg_env, src1, src2);
61 src1 = make_address_i(ctx, src1, 0);
74 gen_helper_asrtle_d(tcg_env, src1, src2);
75 src1 = make_address_i(ctx, src1, 0);
88 gen_helper_asrtgt_d(tcg_env, src1, src2);
89 src1 = make_address_i(ctx, src1, 0);
101 gen_helper_asrtle_d(tcg_env, src1, src2);
[all …]
H A Dtrans_fmemory.c.inc45 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE);
52 addr = make_address_x(ctx, src1, src2);
62 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE);
69 addr = make_address_x(ctx, src1, src2);
77 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE);
84 gen_helper_asrtgt_d(tcg_env, src1, src2);
85 addr = make_address_x(ctx, src1, src2);
102 gen_helper_asrtgt_d(tcg_env, src1, src2);
103 addr = make_address_x(ctx, src1, src2);
119 addr = make_address_x(ctx, src1, src2);
[all …]
/openbmc/qemu/target/sparc/
H A Dvis_helper.c106 s1.l = src1; in helper_fpmerge()
132 s.l = src1; in helper_fmul8x16()
148 s.l = src1; in helper_fmul8x16a()
163 s.ll = src1; in helper_fmul8sux16()
178 s.ll = src1; in helper_fmul8ulx16()
230 s1.ll = src1; in helper_fcmple8()
249 s1.ll = src1; in helper_fcmpule8()
287 s1.ll = src1; in helper_fcmple16()
306 s1.ll = src1; in helper_fcmpule16()
337 s1.ll = src1; in helper_fcmple32()
[all …]
H A Dfop_helper.c90 float32 ret = float32_add(src1, src2, &env->fp_status); in helper_fadds()
97 float32 ret = float32_sub(src1, src2, &env->fp_status); in helper_fsubs()
104 float32 ret = float32_mul(src1, src2, &env->fp_status); in helper_fmuls()
111 float32 ret = float32_div(src1, src2, &env->fp_status); in helper_fdivs()
118 float64 ret = float64_add(src1, src2, &env->fp_status); in helper_faddd()
125 float64 ret = float64_sub(src1, src2, &env->fp_status); in helper_fsubd()
132 float64 ret = float64_mul(src1, src2, &env->fp_status); in helper_fmuld()
139 float64 ret = float64_div(src1, src2, &env->fp_status); in helper_fdivd()
364 float32 ret = float32_add(src1, src2, &env->fp_status); in helper_fnadds()
493 uint32_t helper_flcmps(float32 src1, float32 src2) in helper_flcmps() argument
[all …]
H A Dhelper.c138 if ((src1 | src2) & 3) { in helper_taddcctv()
142 dst = src1 + src2; in helper_taddcctv()
145 v = ~(src1 ^ src2) & (src1 ^ dst); in helper_taddcctv()
156 env->icc_C = dst ^ src1 ^ src2; in helper_taddcctv()
157 env->xcc_C = dst < src1; in helper_taddcctv()
159 env->icc_C = dst < src1; in helper_taddcctv()
174 if ((src1 | src2) & 3) { in helper_tsubcctv()
178 dst = src1 - src2; in helper_tsubcctv()
181 v = (src1 ^ src2) & (src1 ^ dst); in helper_tsubcctv()
193 env->xcc_C = src1 < src2; in helper_tsubcctv()
[all …]
/openbmc/linux/lib/crypto/
H A Dutils.c36 *dst++ = *src1++ ^ *src2++; in __crypto_xor()
43 u64 l = get_unaligned((u64 *)src1) ^ in __crypto_xor()
47 *(u64 *)dst = *(u64 *)src1 ^ *(u64 *)src2; in __crypto_xor()
50 src1 += 8; in __crypto_xor()
57 u32 l = get_unaligned((u32 *)src1) ^ in __crypto_xor()
61 *(u32 *)dst = *(u32 *)src1 ^ *(u32 *)src2; in __crypto_xor()
64 src1 += 4; in __crypto_xor()
71 u16 l = get_unaligned((u16 *)src1) ^ in __crypto_xor()
75 *(u16 *)dst = *(u16 *)src1 ^ *(u16 *)src2; in __crypto_xor()
78 src1 += 2; in __crypto_xor()
[all …]
/openbmc/linux/drivers/crypto/caam/
H A Ddesc_constr.h417 APPEND_MATH(ADD, desc, dest, src0, src1, len)
419 APPEND_MATH(SUB, desc, dest, src0, src1, len)
421 APPEND_MATH(ADDC, desc, dest, src0, src1, len)
423 APPEND_MATH(SUBB, desc, dest, src0, src1, len)
425 APPEND_MATH(AND, desc, dest, src0, src1, len)
426 #define append_math_or(desc, dest, src0, src1, len) \ argument
427 APPEND_MATH(OR, desc, dest, src0, src1, len)
429 APPEND_MATH(XOR, desc, dest, src0, src1, len)
431 APPEND_MATH(LSHIFT, desc, dest, src0, src1, len)
433 APPEND_MATH(RSHIFT, desc, dest, src0, src1, len)
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Dkvm_fpu.h14 extern void fps_fres(u64 *fpscr, u32 *dst, u32 *src1);
15 extern void fps_frsqrte(u64 *fpscr, u32 *dst, u32 *src1);
16 extern void fps_fsqrts(u64 *fpscr, u32 *dst, u32 *src1);
18 extern void fps_fadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
19 extern void fps_fdivs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
20 extern void fps_fmuls(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
21 extern void fps_fsubs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
31 extern void fps_fsel(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
35 u64 *dst, u64 *src1);
37 u64 *dst, u64 *src1, u64 *src2);
[all …]
/openbmc/qemu/include/qemu/
H A Dbitmap.h140 return (*dst = *src1 & *src2) != 0; in bitmap_and()
142 return slow_bitmap_and(dst, src1, src2, nbits); in bitmap_and()
149 *dst = *src1 | *src2; in bitmap_or()
151 slow_bitmap_or(dst, src1, src2, nbits); in bitmap_or()
159 *dst = *src1 ^ *src2; in bitmap_xor()
161 slow_bitmap_xor(dst, src1, src2, nbits); in bitmap_xor()
169 return (*dst = *src1 & ~(*src2)) != 0; in bitmap_andnot()
171 return slow_bitmap_andnot(dst, src1, src2, nbits); in bitmap_andnot()
185 static inline int bitmap_equal(const unsigned long *src1, in bitmap_equal() argument
191 return slow_bitmap_equal(src1, src2, nbits); in bitmap_equal()
[all …]
/openbmc/linux/tools/include/linux/
H A Dbitmap.h77 *dst = *src1 | *src2; in bitmap_or()
79 __bitmap_or(dst, src1, src2, nbits); in bitmap_or()
121 return (*dst = *src1 & *src2 & BITMAP_LAST_WORD_MASK(nbits)) != 0; in bitmap_and()
122 return __bitmap_and(dst, src1, src2, nbits); in bitmap_and()
132 static inline bool bitmap_equal(const unsigned long *src1, in bitmap_equal() argument
136 return !((*src1 ^ *src2) & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_equal()
139 return !memcmp(src1, src2, nbits / 8); in bitmap_equal()
140 return __bitmap_equal(src1, src2, nbits); in bitmap_equal()
143 static inline bool bitmap_intersects(const unsigned long *src1, in bitmap_intersects() argument
148 return ((*src1 & *src2) & BITMAP_LAST_WORD_MASK(nbits)) != 0; in bitmap_intersects()
[all …]
/openbmc/qemu/target/riscv/insn_trans/
H A Dtrans_rvzfh.c.inc93 TCGv_i64 src1 = get_fpr_hs(ctx, a->rs1);
110 TCGv_i64 src1 = get_fpr_hs(ctx, a->rs1);
127 TCGv_i64 src1 = get_fpr_hs(ctx, a->rs1);
144 TCGv_i64 src1 = get_fpr_hs(ctx, a->rs1);
244 gen_check_nanbox_h(dest, src1);
246 tcg_gen_ext16s_i64(dest, src1);
254 gen_check_nanbox_h(rs1, src1);
281 gen_check_nanbox_h(rs1, src1);
283 tcg_gen_mov_i64(rs1, src1);
328 gen_check_nanbox_h(rs1, src1);
[all …]
H A Dtrans_rvzfa.c.inc187 TCGv_i64 src1 = get_fpr_hs(ctx, a->rs1);
204 TCGv_i64 src1 = get_fpr_hs(ctx, a->rs1);
221 TCGv_i64 src1 = get_fpr_d(ctx, a->rs1);
238 TCGv_i64 src1 = get_fpr_d(ctx, a->rs1);
255 TCGv_i64 src1 = get_fpr_hs(ctx, a->rs1);
272 TCGv_i64 src1 = get_fpr_hs(ctx, a->rs1);
289 TCGv_i64 src1 = get_fpr_hs(ctx, a->rs1);
306 TCGv_i64 src1 = get_fpr_hs(ctx, a->rs1);
323 TCGv_i64 src1 = get_fpr_d(ctx, a->rs1);
340 TCGv_i64 src1 = get_fpr_d(ctx, a->rs1);
[all …]
H A Dtrans_rvf.c.inc101 TCGv_i64 src1 = get_fpr_hs(ctx, a->rs1);
118 TCGv_i64 src1 = get_fpr_hs(ctx, a->rs1);
135 TCGv_i64 src1 = get_fpr_hs(ctx, a->rs1);
252 gen_check_nanbox_s(dest, src1);
262 gen_check_nanbox_s(rs1, src1);
289 gen_check_nanbox_s(rs1, src1);
291 tcg_gen_mov_i64(rs1, src1);
334 gen_check_nanbox_s(rs1, src1);
336 tcg_gen_mov_i64(rs1, src1);
434 tcg_gen_ext32s_tl(dest, src1);
[all …]
H A Dtrans_rvd.c.inc113 TCGv_i64 src1 = get_fpr_d(ctx, a->rs1);
131 TCGv_i64 src1 = get_fpr_d(ctx, a->rs1);
149 TCGv_i64 src1 = get_fpr_d(ctx, a->rs1);
167 TCGv_i64 src1 = get_fpr_d(ctx, a->rs1);
185 TCGv_i64 src1 = get_fpr_d(ctx, a->rs1);
202 TCGv_i64 src1 = get_fpr_d(ctx, a->rs1);
219 TCGv_i64 src1 = get_fpr_d(ctx, a->rs1);
236 TCGv_i64 src1 = get_fpr_d(ctx, a->rs1);
253 TCGv_i64 src1 = get_fpr_d(ctx, a->rs1);
318 tcg_gen_xor_i64(dest, src1, t0);
[all …]
/openbmc/linux/arch/arm64/lib/
H A Dstrcmp.S23 #define src1 x0 macro
57 sub off2, src2, src1
59 and tmp, src1, 7
67 ldr data2, [src1, off2]
68 ldr data1, [src1], 8
111 bic src1, src1, 7
113 ldr data1, [src1], 8
131 tst src1, 7
148 sub off1, src2, src1
160 ldr data1, [src1], 8
[all …]
H A Dmemcmp.S20 #define src1 x0 macro
39 ldr data1, [src1], 8
47 ldr data1, [src1, limit]
52 ldr data1, [src1], 8
68 and tmp1, src1, 15
70 sub src1, src1, tmp1
78 ldp data1, data1h, [src1], 16
94 add src1, src1, limit
96 ldp data1, data1h, [src1]
121 ldr data1w, [src1], 4
[all …]
/openbmc/linux/arch/ia64/lib/
H A Dcopy_user.S66 #define src1 r24 macro
212 (p14) sub src1=src1,t2
213 (p15) sub src1=src1,t1
289 (p14) sub src1=src1,t1
300 sub len1=endsrc,src1,1
336 tbit.nz p7,p0=src1,1
340 tbit.nz p8,p0=src1,2
349 tbit.nz p9,p0=src1,3
369 adds src2=8,src1
541 sub len=endsrc,src1,1
[all …]
/openbmc/linux/kernel/bpf/
H A Dcpumask.c138 return cpumask_first_and(src1, src2); in bpf_cpumask_first_and()
250 const struct cpumask *src1, in bpf_cpumask_and() argument
253 return cpumask_and((struct cpumask *)dst, src1, src2); in bpf_cpumask_and()
265 const struct cpumask *src1, in bpf_cpumask_or() argument
268 cpumask_or((struct cpumask *)dst, src1, src2); in bpf_cpumask_or()
280 const struct cpumask *src1, in bpf_cpumask_xor() argument
283 cpumask_xor((struct cpumask *)dst, src1, src2); in bpf_cpumask_xor()
299 return cpumask_equal(src1, src2); in bpf_cpumask_equal()
315 return cpumask_intersects(src1, src2); in bpf_cpumask_intersects()
331 return cpumask_subset(src1, src2); in bpf_cpumask_subset()
[all …]
/openbmc/linux/include/linux/
H A Dbitmap.h341 return __bitmap_and(dst, src1, src2, nbits); in bitmap_and()
348 *dst = *src1 | *src2; in bitmap_or()
350 __bitmap_or(dst, src1, src2, nbits); in bitmap_or()
357 *dst = *src1 ^ *src2; in bitmap_xor()
359 __bitmap_xor(dst, src1, src2, nbits); in bitmap_xor()
367 return __bitmap_andnot(dst, src1, src2, nbits); in bitmap_andnot()
393 return !memcmp(src1, src2, nbits / 8); in bitmap_equal()
394 return __bitmap_equal(src1, src2, nbits); in bitmap_equal()
424 return __bitmap_intersects(src1, src2, nbits); in bitmap_intersects()
433 return __bitmap_subset(src1, src2, nbits); in bitmap_subset()
[all …]
H A Dlinkmode.h35 static inline int linkmode_andnot(unsigned long *dst, const unsigned long *src1, in linkmode_andnot() argument
38 return bitmap_andnot(dst, src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_andnot()
74 static inline int linkmode_equal(const unsigned long *src1, in linkmode_equal() argument
77 return bitmap_equal(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_equal()
80 static inline int linkmode_intersects(const unsigned long *src1, in linkmode_intersects() argument
83 return bitmap_intersects(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_intersects()
86 static inline int linkmode_subset(const unsigned long *src1, in linkmode_subset() argument
89 return bitmap_subset(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_subset()

123456