[Bug gas/14439] New: x86/Intel mode: diagnostics for monitor/mwait operands are issued with wrong operand numbers

2012-08-07 Thread jbeulich at novell dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14439

 Bug #: 14439
   Summary: x86/Intel mode: diagnostics for monitor/mwait operands
are issued with wrong operand numbers
   Product: binutils
   Version: 2.23 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
AssignedTo: unassig...@sourceware.org
ReportedBy: jbeul...@novell.com
Classification: Unclassified


Since operands get needlessly swapped for these two instructions (other than
e.g for the similar invlpga), their numbers aren't reported correctly when
incorrect operand usage is being detected.

The preferable solution would be to make these instructions match invlpga (i.e.
suppress operand swapping), as all of them are inputs only.

Alternatively, diagnostic generation would need to be adjusted, or the variants
allowing for operands could be disallowed in Intel mode (as the documentation
doesn't allow operands here anyway).

-- 
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.

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


[Bug gas/14439] x86/Intel mode: diagnostics for monitor/mwait operands are issued with wrong operand numbers

2012-08-07 Thread jbeulich at novell dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14439

--- Comment #1 from Jan Beulich  2012-08-07 
10:58:27 UTC ---
A patch to carry out the preferred solution can be found at
http://www.sourceware.org/ml/binutils/2012-07/msg00173.html.

-- 
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.

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


[Bug gas/14439] x86/Intel mode: diagnostics for monitor/mwait operands are issued with wrong operand numbers

2012-08-07 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14439

H.J. Lu  changed:

   What|Removed |Added

 CC||hjl.tools at gmail dot com

--- Comment #2 from H.J. Lu  2012-08-07 14:30:12 
UTC ---
Can you add ATTsyntax to existing monitor/wait entries and new
ones with Intelsyntax to i386-opc.tbl deal with it?

-- 
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.

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