[Top][All Lists]

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

extrq wrong operand?

From: Tom Horsley
Subject: extrq wrong operand?
Date: Thu, 11 Apr 2013 10:42:21 -0400

If I'm reading the AMD manuals correctly, the extrq instruction
has one form with operands described in the table as Vdq,Ib,Ib.
The V in Vdq is described as being the ModRM reg field. If
I disassemble an example with objdump, I see this:

objdump:  40356c:       66 0f 78 c1 02 04       extrq  $0x4,$0x2,%xmm1

modrm byte is 0xc1
   mod = 3
   reg = 0
   rm = 1

So objdump seems to be picking %xmm1 from the rm field, not the
reg field.

Are the binutils busted, or are the AMD manuals busted?

reply via email to

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