Re: [Valgrind-developers] [PATCH 1/2] x86: optimize XCHG to MOV for same-register forms

Christian Ludloff <[email protected]>
Newsgroups gmane.comp.gnu.binutils
Message-ID <CAKSQd8XQU_mRf3vUj0R3-Bn02utt0h6ye9COWGxw7tBmrA9n4Q@mail.gmail.com>
> late 486 DX/2 stepping 5 which even has CPUID and
> VME extensions (no 4MiB pages though; these landed
> with stepping 6 only)

Can you please capture a short CPUID dump?  :)

I got 480h (DX4) and 490h (DX4WB) dumps where PSE
is a difference as well. And a 435h dump (no PSE)... but
a 436h with PSE is a new one for me. See here:

  https://www.sandpile.org/x86/cpuid.htm (search 'PSE')

> each and every ROR instruction did set OF according
> to the result of the operation, even for the cases undefined

Alas undefined OF for ROL/ROR >1 has seen numerous
different implementations/behaviors. See here:

    https://www.sandpile.org/x86/flags.htm

--
C.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.