bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/3100] New: maskmovdqu operand bug in objdump


From: dwarak dot rajagopal at amd dot com
Subject: [Bug gas/3100] New: maskmovdqu operand bug in objdump
Date: 21 Aug 2006 19:44:05 -0000

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.




reply via email to

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