https://bugs.kde.org/show_bug.cgi?id=367543

--- Comment #1 from Julian Seward <jsew...@acm.org> ---
The Intel documentation has changed, it seems.  The Nov 2007 docs say
(about BT)

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

The Jan 2015 docs say:

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

VEX just implements the 2007 version.  I had no idea the Z definition had
changed, until this bug report.

Fixing the Z behaviour sounds reasonable, but regarding O,S,A,P, well, the
docs still list them as undefined.  I am reluctant to fix them to any specific
CPU behaviour.  Also, how would we even know whether a specific CPU 
gives consistent values for those four flags?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to