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?

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to