[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/13571] New: objdump incorrectly disassembles 'movnti' as u
From: |
address@hidden |
Subject: |
[Bug binutils/13571] New: objdump incorrectly disassembles 'movnti' as using 'QWORD PTR' |
Date: |
Fri, 06 Jan 2012 19:19:48 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=13571
Bug #: 13571
Summary: objdump incorrectly disassembles 'movnti' as using
'QWORD PTR'
Product: binutils
Version: 2.23 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: address@hidden
ReportedBy: address@hidden
Classification: Unclassified
"objdump -M intel -d" produces the following disassembly for x86-32:
0: 0f c3 00 movnti QWORD PTR [eax],eax
This should be "DWORD PTR" rather than "QWORD PTR".
For comparison, the assembler gets this right and accepts "DWORD PTR" but not
"QWORD PTR":
$ cat binutils_bug.S
.intel_syntax noprefix
movnti DWORD PTR [eax], eax
movnti QWORD PTR [eax], eax
$ as --32 binutils_bug.S -o binutils_bug.o
binutils_bug.S: Assembler messages:
binutils_bug.S:3: Error: ambiguous operand size or operands invalid for
`movnti'
The AMD manual specifies the instruction as follows:
MOVNTI mem32, reg32 0F C3 /r
MOVNTI mem64, reg64 0F C3 /r
This happens with binutils 2.20.1 and with HEAD (as of today).
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug binutils/13571] New: objdump incorrectly disassembles 'movnti' as using 'QWORD PTR',
address@hidden <=