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

--- Comment #3 from Tomas Trnka <tomastr...@gmx.com> ---
I don't know if there's any special assembly syntax to force one or the other.
I wouldn't be surprised if there's not, because these three-register variants
are functionally equivalent (except for the direction).

I have found that my GNU as (2.29.1) reliably picks opcode 11h when the first
operand is xmm8+ and the third operand is xmm[0-7]. All other combinations seem
to use opcode 10h. (No idea why. I just bruteforced all combinations). This is
probably the reason why the three-register opcode 11h version is somewhat less
common (and thus why most of the FP code out there seems to mostly work).

   0:   c5 6b 10 c1             vmovsd %xmm1,%xmm2,%xmm8

   0:   c5 6b 11 c1             vmovsd %xmm8,%xmm2,%xmm1

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

Reply via email to