search for: eflg_cf

Displaying 3 results from an estimated 3 matches for "eflg_cf".

2011 Nov 30
0
[PATCH 3/4] x86/emulator: properly handle lzcnt and tzcnt
...quot;=q" (zf) - : "r" (src.val), "1" (0) ); + : "r" (src.val) ); _regs.eflags &= ~EFLG_ZF; - if ( zf ) + if ( (rep_prefix == REPE_PREFIX) && vcpu_has_bmi1() ) + { + _regs.eflags &= ~EFLG_CF; + if ( zf ) + { + _regs.eflags |= EFLG_CF; + dst.val = op_bytes * 8; + } + else if ( !dst.val ) + _regs.eflags |= EFLG_ZF; + } + else if ( zf ) { _regs.eflags |= EFLG_ZF;...
2011 Nov 30
0
[PATCH 4/4] x86/emulator: cleanup
..." (dst.val), "=q" (zf) : "r" (src.val) ); _regs.eflags &= ~EFLG_ZF; - if ( (rep_prefix == REPE_PREFIX) && vcpu_has_bmi1() ) + if ( (vex.pfx == vex_f3) && vcpu_has_bmi1() ) { _regs.eflags &= ~EFLG_CF; if ( zf ) @@ -4391,7 +4392,7 @@ x86_emulate( : "=r" (dst.val), "=q" (zf) : "r" (src.val) ); _regs.eflags &= ~EFLG_ZF; - if ( (rep_prefix == REPE_PREFIX) && vcpu_has_lzcnt() ) + if ( (vex.pfx...
2012 May 04
9
[hybrid]: unable to boot hvm due to eflags.ID
Hi guys, At a loss trying to figure why if (has_eflag(X86_EFLAGS_ID)) returns false in my HVM domU. Standard function has_eflag() in cpucheck.c running in real mode. Works fine on PV dom0, but fails when guest is booting on my hybrid dom0. LMK if any ideas. I''ll keep digging in the manuals, but nothing so far. thanks, Mukesh