qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Bug report about x86 'bt' insn


From: malc
Subject: Re: [Qemu-devel] Bug report about x86 'bt' insn
Date: Sat, 6 Nov 2010 22:25:16 +0300 (MSK)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

On Sat, 6 Nov 2010, malc wrote:

> On Sat, 6 Nov 2010, Nathan Froyd wrote:
> 
> > On Sat, Nov 06, 2010 at 07:24:39PM +0100, Torbjorn Granlund wrote:
> > > malc <address@hidden> writes:
> > > 
> > >   ZF is undefined according to AMD's 24594.pdf page 69.
> > >   
> > > Ah, you're right.  It seems that all existing x86 implementations leave
> > > ZF alone, though.  (I am not arguing that qeum is broken, the bug is in
> > > my code.)
> > 
> > FWIW, the Intel manuals (253666, June 2010) state that the ZF flag is
> > unaffected, not just undefined.
> 
> (3-94 Vol. 2A BT it Test)
> 
> Flags Affected
> The CF flag contains the value of the selected bit. The OF, SF, ZF, AF, 
> and PF flags are undefined.
> 

And this one was March 2009 (conveniently having the same file name
253666), the September 2010 issue reads differently:

Flags Affected
The CF flag contains the value of the selected bit. The ZF flag is 
unaffected. The OF, SF, AF, and PF flags are undefined.

-- 
mailto:address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]