/openbmc/qemu/target/sparc/ |
H A D | vis_helper.c | 107 s2.l = src2; in helper_fpmerge() 133 d.ll = src2; in helper_fmul8x16() 164 d.ll = src2; in helper_fmul8sux16() 179 d.ll = src2; in helper_fmul8ulx16() 194 s.l = src2; in helper_fexpand() 231 s2.ll = src2; in helper_fcmple8() 250 s2.ll = src2; in helper_fcmpule8() 288 s2.ll = src2; in helper_fcmple16() 307 s2.ll = src2; in helper_fcmpule16() 338 s2.ll = src2; in helper_fcmple32() [all …]
|
H A D | fop_helper.c | 90 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() 493 uint32_t helper_flcmps(float32 src1, float32 src2) in helper_flcmps() argument 513 return float32_is_any_nan(src2) ? 3 : 2; in helper_flcmps() 518 uint32_t helper_flcmpd(float64 src1, float64 src2) in helper_flcmpd() argument [all …]
|
H A D | helper.c | 133 target_ulong src2) in helper_taddcctv() argument 138 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() 174 if ((src1 | src2) & 3) { in helper_tsubcctv() 178 dst = src1 - src2; in helper_tsubcctv() 181 v = (src1 ^ src2) & (src1 ^ dst); in helper_tsubcctv() 192 env->icc_C = dst ^ src1 ^ src2; in helper_tsubcctv() 193 env->xcc_C = src1 < src2; in helper_tsubcctv() [all …]
|
H A D | translate.c | 882 tcg_gen_ext16s_i32(src2, src2); in gen_op_fmul8x16al() 888 tcg_gen_sari_i32(src2, src2, 16); in gen_op_fmul8x16au() 970 tcg_gen_sari_vec(vece, src2, src2, 1); in gen_vec_fmean16() 3877 src2 = t1; in trans_SDIVX() 4158 if (src2 == NULL) { in trans_MOVcc() 4170 if (src2 == NULL) { in trans_MOVfcc() 4182 if (src2 == NULL) { in trans_MOVR() 4952 TCGv_i32 src1, src2; in TRANS() local 4990 TCGv_i32 src1, src2; in TRANS() local 5014 TCGv_i32 src1, src2; in TRANS() local [all …]
|
/openbmc/linux/lib/crypto/ |
H A D | utils.c | 36 *dst++ = *src1++ ^ *src2++; in __crypto_xor() 44 get_unaligned((u64 *)src2); in __crypto_xor() 47 *(u64 *)dst = *(u64 *)src1 ^ *(u64 *)src2; in __crypto_xor() 51 src2 += 8; in __crypto_xor() 58 get_unaligned((u32 *)src2); in __crypto_xor() 61 *(u32 *)dst = *(u32 *)src1 ^ *(u32 *)src2; in __crypto_xor() 65 src2 += 4; in __crypto_xor() 72 get_unaligned((u16 *)src2); in __crypto_xor() 75 *(u16 *)dst = *(u16 *)src1 ^ *(u16 *)src2; in __crypto_xor() 79 src2 += 2; in __crypto_xor() [all …]
|
/openbmc/qemu/target/loongarch/tcg/insn_trans/ |
H A D | trans_shift.c.inc | 6 static void gen_sll_w(TCGv dest, TCGv src1, TCGv src2) 9 tcg_gen_andi_tl(t0, src2, 0x1f); 13 static void gen_srl_w(TCGv dest, TCGv src1, TCGv src2) 16 tcg_gen_andi_tl(t0, src2, 0x1f); 20 static void gen_sra_w(TCGv dest, TCGv src1, TCGv src2) 23 tcg_gen_andi_tl(t0, src2, 0x1f); 30 tcg_gen_andi_tl(t0, src2, 0x3f); 37 tcg_gen_andi_tl(t0, src2, 0x3f); 44 tcg_gen_andi_tl(t0, src2, 0x3f); 54 tcg_gen_andi_tl(t0, src2, 0x1f); [all …]
|
H A D | trans_arith.c.inc | 14 func(dest, src1, src2); 28 func(dest, src1, src2); 55 func(dest, src1, src2, a->sa); 142 tcg_gen_movcond_tl(TCG_COND_EQ, ret, src2, zero, one, src2); 148 prep_divisor_d(t0, src1, src2); 155 prep_divisor_d(t0, src1, src2); 162 prep_divisor_du(t0, src2); 169 prep_divisor_du(t0, src2); 177 prep_divisor_du(t0, src2); 185 prep_divisor_du(t0, src2); [all …]
|
H A D | trans_fmemory.c.inc | 46 TCGv src2 = gpr_src(ctx, a->rk, EXT_NONE); 52 addr = make_address_x(ctx, src1, src2); 63 TCGv src2 = gpr_src(ctx, a->rk, EXT_NONE); 69 addr = make_address_x(ctx, src1, src2); 78 TCGv src2 = gpr_src(ctx, a->rk, 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/include/qemu/ |
H A D | bitmap.h | 140 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() 189 return ! ((*src1 ^ *src2) & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_equal() 191 return slow_bitmap_equal(src1, src2, nbits); in bitmap_equal() [all …]
|
/openbmc/linux/tools/include/linux/ |
H A D | bitmap.h | 74 const unsigned long *src2, unsigned int nbits) in bitmap_or() argument 77 *dst = *src1 | *src2; in bitmap_or() 79 __bitmap_or(dst, src1, src2, nbits); in bitmap_or() 118 const unsigned long *src2, unsigned int nbits) in bitmap_and() argument 122 return __bitmap_and(dst, src1, src2, nbits); in bitmap_and() 133 const unsigned long *src2, unsigned int nbits) 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() 144 const unsigned long *src2, in bitmap_intersects() argument [all …]
|
/openbmc/qemu/target/i386/tcg/ |
H A D | cc_helper.c | 89 return (src1 & ~CC_O) | (src2 * CC_O); in compute_all_adox() 127 return compute_all_adcb(dst, src1, src2); in helper_cc_compute_all() 129 return compute_all_adcw(dst, src1, src2); in helper_cc_compute_all() 286 return compute_c_adcb(dst, src1, src2); in helper_cc_compute_c() 288 return compute_c_adcw(dst, src1, src2); in helper_cc_compute_c() 290 return compute_c_adcl(dst, src1, src2); in helper_cc_compute_c() 300 return compute_c_sbbb(dst, src1, src2); in helper_cc_compute_c() 302 return compute_c_sbbw(dst, src1, src2); in helper_cc_compute_c() 304 return compute_c_sbbl(dst, src1, src2); in helper_cc_compute_c() 331 return compute_c_adcq(dst, src1, src2); in helper_cc_compute_c() [all …]
|
H A D | cc_helper_template.h.inc | 45 DATA_TYPE src2 = dst - src1; 85 DATA_TYPE src1 = dst + src2; 87 cf = src1 < src2; 98 DATA_TYPE src1 = dst + src2; 100 return src1 < src2; 109 cf = (src3 ? src1 <= src2 : src1 < src2); 123 return (src3 ? src1 <= src2 : src1 < src2); 142 DATA_TYPE src2; 146 src2 = 1; 158 DATA_TYPE src2; [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | kvm_fpu.h | 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); 23 extern void fps_fmadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2, 25 extern void fps_fmsubs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2, 31 extern void fps_fsel(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2, 37 u64 *dst, u64 *src1, u64 *src2); 39 u64 *dst, u64 *src1, u64 *src2, u64 *src3); 41 extern void fpd_fcmpu(u64 *fpscr, u32 *cr, u64 *src1, u64 *src2); [all …]
|
/openbmc/linux/kernel/bpf/ |
H A D | cpumask.c | 136 const struct cpumask *src2) in bpf_cpumask_first_and() argument 138 return cpumask_first_and(src1, src2); in bpf_cpumask_first_and() 251 const struct cpumask *src2) in bpf_cpumask_and() argument 266 const struct cpumask *src2) in bpf_cpumask_or() argument 268 cpumask_or((struct cpumask *)dst, src1, src2); in bpf_cpumask_or() 281 const struct cpumask *src2) in bpf_cpumask_xor() argument 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() 405 const struct cpumask *src2) in bpf_cpumask_any_and_distribute() argument [all …]
|
/openbmc/linux/include/linux/ |
H A D | bitmap.h | 145 const unsigned long *src2, 341 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() 393 return !memcmp(src1, src2, nbits / 8); in bitmap_equal() 394 return __bitmap_equal(src1, src2, nbits); in bitmap_equal() 407 const unsigned long *src2, in bitmap_or_equal() argument 418 const unsigned long *src2, in bitmap_intersects() argument [all …]
|
H A D | linkmode.h | 36 const unsigned long *src2) in linkmode_andnot() argument 38 return bitmap_andnot(dst, src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_andnot() 75 const unsigned long *src2) in linkmode_equal() argument 77 return bitmap_equal(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_equal() 81 const unsigned long *src2) in linkmode_intersects() argument 83 return bitmap_intersects(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_intersects() 87 const unsigned long *src2) in linkmode_subset() argument 89 return bitmap_subset(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_subset()
|
/openbmc/linux/arch/arm64/lib/ |
H A D | memcmp.S | 21 #define src2 x1 macro 40 ldr data2, [src2], 8 48 ldr data2, [src2, limit] 53 ldr data2, [src2], 8 71 sub src2, src2, tmp1 79 ldp data2, data2h, [src2], 16 95 add src2, src2, limit 97 ldp data2, data2h, [src2] 122 ldr data2w, [src2], 4 131 ldrb data2w, [src2], 1
|
H A D | strncmp.S | 25 #define src2 x1 macro 63 eor tmp1, src1, src2 76 ldr data2, [src2], #8 165 bic src2, src2, #7 168 ldr data2, [src2], #8 187 ldrb data2w, [src2], #1 206 ldrb data2w, [src2], #1 233 lsl offset, src2, #3 234 bic src2, src2, #0xf 238 ldp tmp1, tmp2, [src2], #16 [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | neon_helper.c | 182 #define NEON_FN(dest, src1, src2) dest = (src1 < src2) ? src1 : src2 argument 189 #define NEON_FN(dest, src1, src2) dest = (src1 > src2) ? src1 : src2 argument 196 #define NEON_FN(dest, src1, src2) \ argument 201 #define NEON_FN(dest, src1, src2) \ argument 436 #define NEON_FN(dest, src1, src2) dest = src1 - src2 argument 441 #define NEON_FN(dest, src1, src2) dest = src1 * src2 argument 446 #define NEON_FN(dest, src1, src2) dest = (src1 & src2) ? -1 : 0 argument 534 #define NEON_FN(dest, src1, src2) NEON_QDMULH16(dest, src1, src2, 0) argument 537 #define NEON_FN(dest, src1, src2) NEON_QDMULH16(dest, src1, src2, 1) argument 560 #define NEON_FN(dest, src1, src2) NEON_QDMULH32(dest, src1, src2, 0) argument [all …]
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_rvzfa.c.inc | 188 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 205 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 222 TCGv_i64 src2 = get_fpr_d(ctx, a->rs2); 239 TCGv_i64 src2 = get_fpr_d(ctx, a->rs2); 256 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 273 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 441 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 456 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 471 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 486 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); [all …]
|
H A D | trans_rvzfh.c.inc | 94 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 111 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 128 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 145 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 162 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 178 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 255 gen_check_nanbox_h(rs2, src2); 293 gen_check_nanbox_h(rs2, src2); 295 tcg_gen_mov_i64(rs2, src2); 340 gen_check_nanbox_h(rs2, src2); [all …]
|
H A D | trans_rvf.c.inc | 102 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 119 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 136 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 153 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 170 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 186 TCGv_i64 src2 = get_fpr_hs(ctx, a->rs2); 263 gen_check_nanbox_s(rs2, src2); 299 gen_check_nanbox_s(rs2, src2); 301 tcg_gen_mov_i64(rs2, src2); 346 gen_check_nanbox_s(rs2, src2); [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | cpumask_common.h | 32 const struct cpumask *src2) __ksym; 42 const struct cpumask *src2) __ksym; 45 const struct cpumask *src2) __ksym; 48 const struct cpumask *src2) __ksym; 49 bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) __ksym; 50 bool bpf_cpumask_intersects(const struct cpumask *src1, const struct cpumask *src2) __ksym; 51 bool bpf_cpumask_subset(const struct cpumask *src1, const struct cpumask *src2) __ksym; 56 u32 bpf_cpumask_any_and_distribute(const struct cpumask *src1, const struct cpumask *src2) __ksym;
|
/openbmc/linux/arch/arc/kernel/ |
H A D | unaligned.c | 139 set_reg(state->wb_reg, state->src1 + state->src2, regs, cregs); in fixup_load() 142 state->src2 = 0; in fixup_load() 146 get32_unaligned_check(val, state->src1 + state->src2); in fixup_load() 148 get16_unaligned_check(val, state->src1 + state->src2); in fixup_load() 167 set_reg(state->wb_reg, state->src2 + state->src3, regs, cregs); in fixup_store() 173 set_reg(state->wb_reg, state->src2 + (state->src3 << 1), in fixup_store() 176 set_reg(state->wb_reg, state->src2 + (state->src3 << 2), in fixup_store() 185 put32_unaligned_check(state->src1, state->src2 + state->src3); in fixup_store() 187 put16_unaligned_check(state->src1, state->src2 + state->src3); in fixup_store()
|
/openbmc/u-boot/cmd/ |
H A D | binop.c | 91 u8 *result, *src1, *src2; in do_binop() local 115 src2 = malloc(len); in do_binop() 123 read_from_mem(simple_strtoul(src2arg + 1, NULL, 16), src2, len); in do_binop() 125 read_from_env_var(src2arg, src2); in do_binop() 132 result[i] = src1[i] ^ src2[i]; in do_binop() 136 result[i] = src1[i] | src2[i]; in do_binop() 140 result[i] = src1[i] & src2[i]; in do_binop() 163 free(src2); in do_binop()
|