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.c221 int old_al, al, af, cf; in helper_aas()
225 cf = eflags & CC_C; in helper_aas()
234 if ((old_al > 0x99) || cf) {
248 int al, al1, af, cf; in helper_daa()
252 cf = eflags & CC_C; in helper_daa()
260 if (al < 6 || cf) { in helper_daa()
265 if ((al1 > 0x99) || cf) { in helper_das()
237 int old_al, al, af, cf; helper_daa() local
264 int al, al1, af, cf; helper_das() local
/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.c42 VMSTATE_BOOL_ARRAY(env.cf, LoongArchCPU, 8),
H A Dcpu.h287 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 Dtranslate.c785 if (cf & 1) { in do_cond()
828 if (cf & 1) { in do_sub_cond()
862 switch (cf) { in do_log_cond()
1145 if (a->cf) { in do_add_reg()
1160 if (a->cf) { in do_add_imm()
1242 if (a->cf) { in do_sub_reg()
1255 if (a->cf) { in do_sub_imm()
1304 if (cf) { in do_log()
1314 if (a->cf) { in do_log_reg()
2805 if (a->cf) { in trans_cmpclr()
[all …]
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 …]
/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.c441 env->cf[i] = fpu.fcc & 0xFF; in kvm_loongarch_get_regs_fp()
461 fpu.fcc |= env->cf[i] << (8 * i); in kvm_loongarch_put_regs_fp()
/qemu/target/i386/
H A Dops_sse.h1605 uint64_t zf = 0, cf = 0; in glue() local
1610 cf |= (s->Q(i) & ~d->Q(i)); in glue()
1612 CC_SRC = (zf ? 0 : CC_Z) | (cf ? 0 : CC_C); in glue()
2292 uint32_t zf = 0, cf = 0; in SSE_HELPER_L() local
2297 cf |= (s->L(i) & ~d->L(i)); in SSE_HELPER_L()
2299 CC_SRC = ((zf >> 31) ? 0 : CC_Z) | ((cf >> 31) ? 0 : CC_C); in SSE_HELPER_L()
2304 uint64_t zf = 0, cf = 0; in glue() local
2309 cf |= (s->Q(i) & ~d->Q(i)); in glue()
2311 CC_SRC = ((zf >> 63) ? 0 : CC_Z) | ((cf >> 63) ? 0 : CC_C); in glue()
/qemu/
H A Dconfigure686 cf=$source_path/configs/devices/$device_arch-softmmu/$optarg.mak
687 if test -f "$cf"; then
691 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.inc1334 tcg_target_long val, int cf)
1346 if (!cf) {
1369 * by this transformation, so do it only if cf == 0.