bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/6957] i386 NOPs must be derived from march not mtune


From: dsd at laptop dot org
Subject: [Bug gas/6957] i386 NOPs must be derived from march not mtune
Date: 8 Jun 2010 22:07:03 -0000

------- Additional Comments From dsd at laptop dot org  2010-06-08 22:07 -------
Created an attachment (id=4837)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4837&action=view)
testcase3.s

One more. By deleting (more or less) random lines from testcase2.s I came up
with a 9-line test case which produces 2 nopl instructions when assembled with
-mtune=i686.

$ as -mtune=i686 -o foo testcase3.s
$ objdump -d foo
Disassembly of section .text:

00000000 <.text>:
   0:   55                      push   %ebp
   1:   5d                      pop    %ebp
   2:   c3                      ret    
   3:   0f 1f 44 00 00          nopl   0x0(%eax,%eax,1)
   8:   c3                      ret    
   9:   0f 1f 80 00 00 00 00    nopl   0x0(%eax)


-- 


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

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