The mnemonic for maskmovdqu is "maskmovdqu %xmm1,%xmm2".

Though there is a implied memory destination for this instruction, the explicit
arguments for this instructions are always %xmm registers.

But opcodes/i386-dis.c allows both register and memory for the 2nd operand.

This bug might not be exposed as the assembler handles this correctly.
Nevertheless you will hit this bug if you write the binary without the assembler
 and use the disassembler with that binary as it will then allow even a memory
operand(2nd operand) for this instruction which is wrong.

- Dwarak

-- 
           Summary: maskmovdqu operand bug in objdump
           Product: binutils
           Version: 2.18 (HEAD)
            Status: NEW
          Severity: minor
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: dwarak dot rajagopal at amd dot com
                CC: bug-binutils at gnu dot org,dwarak dot rajagopal at amd
                    dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=3100

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

Reply via email to