Home
last modified time | relevance | path

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

/qemu/target/i386/tcg/
H A Dcc_helper_template.h.inc44 int cf, pf, af, zf, sf, of;
47 cf = dst < src1;
64 int cf, pf, af, zf, sf, of;
87 cf = src1 < src2;
130 cf = 0;
144 cf = src1;
160 cf = src1;
194 cf = src1 & 1;
211 cf = (src1 != 0);
216 of = cf * CC_O;
[all …]
H A Dint_helper.c220 int old_al, al, af, cf; in helper_daa() local
224 cf = eflags & CC_C; in helper_daa()
233 if ((old_al > 0x99) || cf) { in helper_daa()
248 int al, al1, af, cf; in helper_das() local
252 cf = eflags & CC_C; in helper_das()
260 if (al < 6 || cf) { in helper_das()
265 if ((al1 > 0x99) || cf) { in helper_das()
/qemu/target/i386/hvf/
H A Dx86_emu.c870 bool cf; in do_bt() local
895 set_CF(env, cf); in do_bt()
909 set_CF(env, cf); in do_bt()
939 int of = 0, cf = 0; in exec_shl() local
956 of = cf ^ (res >> 7); in exec_shl()
961 SET_FLAGS_OxxxxC(env, of, cf); in exec_shl()
977 SET_FLAGS_OxxxxC(env, of, cf); in exec_shl()
988 SET_FLAGS_OxxxxC(env, of, cf); in exec_shl()
1186 int of = 0, cf = 0; in exec_rcl() local
1212 SET_FLAGS_OxxxxC(env, of, cf); in exec_rcl()
[all …]
/qemu/target/loongarch/
H A Dgdbstub.c21 ret |= (uint64_t)env->cf[i] << (i * 8); in read_fcc()
30 env->cf[i] = (val >> (i * 8)) & 1; in write_fcc()
93 return gdb_get_reg8(mem_buf, env->cf[n - 32]); in loongarch_gdb_get_fpu()
110 env->cf[n - 32] = ldub_p(mem_buf); in loongarch_gdb_set_fpu()
H A Dmachine.c43 VMSTATE_BOOL_ARRAY(env.cf, LoongArchCPU, 8),
H A Dcpu.h289 bool cf[8]; member
H A Dinsns.decode39 &cf cd fj
88 @cf .... ........ ..... ..... fj:5 .. cd:3 &cf
419 movfr2cf 0000 00010001 01001 10100 ..... 00 ... @cf
H A Ddisas.c491 INSN(movfr2cf, cf) in INSN()
/qemu/configs/targets/
H A Dm68k-softmmu.mak3 TARGET_XML_FILES= gdb-xml/cf-core.xml gdb-xml/cf-fp.xml gdb-xml/m68k-core.xml gdb-xml/m68k-fp.xml
H A Dm68k-linux-user.mak5 TARGET_XML_FILES= gdb-xml/cf-core.xml gdb-xml/cf-fp.xml gdb-xml/m68k-core.xml gdb-xml/m68k-fp.xml
/qemu/target/hppa/
H A Dinsns.decode73 &rr_cf_d t r cf d
75 &rrr_cf t r1 r2 cf
76 &rrr_cf_d t r1 r2 cf d
78 &rrr_cf_d_sh t r1 r2 cf d sh
80 &rri_cf t r i cf
81 &rri_cf_d t r i cf d
92 @rr_cf_d ...... r:5 ..... cf:4 ...... . t:5 &rr_cf_d d=%d_5
94 @rrr_cf ...... r2:5 r1:5 cf:4 ....... t:5 &rrr_cf
95 @rrr_cf_d ...... r2:5 r1:5 cf:4 ...... . t:5 &rrr_cf_d d=%d_5
97 @rrr_cf_d_sh ...... r2:5 r1:5 cf:4 .... sh:2 . t:5 &rrr_cf_d_sh d=%d_5
[all …]
H A Dtranslate.c901 if (cf & 1) { in do_cond()
944 if (cf & 1) { in do_sub_cond()
1007 if (cf & 1) { in do_log_cond()
1264 if (a->cf) { in do_add_reg()
1283 if (a->cf) { in do_add_imm()
1359 if (a->cf) { in do_sub_reg()
1372 if (a->cf) { in do_sub_imm()
1427 if (a->cf) { in do_log_reg()
2879 if (a->cf) { in trans_cmpclr()
2892 if (a->cf) { in trans_uxor()
[all …]
/qemu/target/loongarch/tcg/insn_trans/
H A Dtrans_fmov.c.inc25 tcg_gen_ld8u_tl(cond, tcg_env, offsetof(CPULoongArchState, cf[a->ca]));
165 tcg_gen_st8_tl(t0, tcg_env, offsetof(CPULoongArchState, cf[a->cd & 0x7]));
181 offsetof(CPULoongArchState, cf[a->cj & 0x7]));
199 tcg_gen_st8_tl(t0, tcg_env, offsetof(CPULoongArchState, cf[a->cd & 0x7]));
213 offsetof(CPULoongArchState, cf[a->cj & 0x7]));
H A Dtrans_fcmp.c.inc46 tcg_gen_st8_tl(var, tcg_env, offsetof(CPULoongArchState, cf[a->cd]));
70 tcg_gen_st8_tl(var, tcg_env, offsetof(CPULoongArchState, cf[a->cd]));
H A Dtrans_branch.c.inc70 offsetof(CPULoongArchState, cf[a->cj]));
H A Dtrans_vec.c.inc4764 tcg_gen_st8_tl(t1, tcg_env, offsetof(CPULoongArchState, cf[a->cd & 0x7])); \
4810 tcg_gen_st8_tl(t1, tcg_env, offsetof(CPULoongArchState, cf[a->cd & 0x7])); \
/qemu/hw/ide/
H A Dmeson.build5 system_ss.add(when: 'CONFIG_IDE_CF', if_true: files('cf.c'))
/qemu/docs/specs/
H A Dstandard-vga.rst54 ``01cf``
/qemu/docs/devel/
H A Ddecodetree.rst230 or 000010 rt2:5 r1:5 cf:4 001001 0 rt:5
233 When the *cf* field is zero, the instruction has no side effects,
/qemu/target/loongarch/kvm/
H A Dkvm.c444 env->cf[i] = fpu.fcc & 0xFF; in kvm_loongarch_get_regs_fp()
467 fpu.fcc |= env->cf[i] << (8 * i); in kvm_loongarch_put_regs_fp()
/qemu/target/i386/
H A Dops_sse.h1609 uint64_t zf = 0, cf = 0; in glue() local
1614 cf |= (s->Q(i) & ~d->Q(i)); in glue()
1616 CC_SRC = (zf ? 0 : CC_Z) | (cf ? 0 : CC_C); in glue()
2298 uint32_t zf = 0, cf = 0; in SSE_HELPER_L() local
2303 cf |= (s->L(i) & ~d->L(i)); in SSE_HELPER_L()
2305 CC_SRC = ((zf >> 31) ? 0 : CC_Z) | ((cf >> 31) ? 0 : CC_C); in SSE_HELPER_L()
2311 uint64_t zf = 0, cf = 0; in glue() local
2316 cf |= (s->Q(i) & ~d->Q(i)); in glue()
2318 CC_SRC = ((zf >> 63) ? 0 : CC_Z) | ((cf >> 63) ? 0 : CC_C); in glue()
/qemu/
H A Dconfigure685 cf=$source_path/configs/devices/$device_arch-softmmu/$optarg.mak
686 if test -f "$cf"; then
690 error_exit "File $cf does not exist"
/qemu/target/hexagon/idef-parser/
H A Dparser-helpers.c1615 HexValue cf = gen_tmp(c, locp, 64, UNSIGNED); in gen_carry_from_add() local
1621 OUT(c, locp, "tcg_gen_add2_i64(", &res, ", ", &cf, ", ", &op1_m, ", ", in gen_carry_from_add()
1624 OUT(c, locp, "tcg_gen_add2_i64(", &res, ", ", &cf, ", ", &res, ", ", &cf); in gen_carry_from_add()
1627 return cf; in gen_carry_from_add()
/qemu/target/loongarch/tcg/
H A Dvec_helper.c3136 env->cf[cd & 0x7] = do_match2(0, Vj->D(0), Vj->D(1), MO); \
3138 env->cf[cd & 0x7] = env->cf[cd & 0x7] || \
3154 env->cf[cd & 0x7]= !do_match2(0, Vj->D(0), Vj->D(1), MO); \ in SETANYEQZ()
3156 env->cf[cd & 0x7] = env->cf[cd & 0x7] && \ in SETANYEQZ()
/qemu/tcg/i386/
H A Dtcg-target.c.inc1328 tcg_target_long val, int cf)
1340 if (!cf) {
1363 * by this transformation, so do it only if cf == 0.