bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/16140] New: gas generates nopl and nopw instructions with -marc


From: mikulas at artax dot karlin.mff.cuni.cz
Subject: [Bug gas/16140] New: gas generates nopl and nopw instructions with -march=k6_2
Date: Thu, 07 Nov 2013 23:49:52 +0000

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

            Bug ID: 16140
           Summary: gas generates nopl and nopw instructions with
                    -march=k6_2
           Product: binutils
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: mikulas at artax dot karlin.mff.cuni.cz

The k6-2 processor doesn't support the nopl and nopw instructions with the code
0f 1f. Therefore, gas shouldn't use this instruction for alignment with
-march=k6_2

Example - compile the following source file with "as -march=k6_2 --32"
        .global main
main:
        xorl    %eax, %eax
        .balign 8
        ret
The result:
00000000 <main>:
   0:   31 c0                   xor    %eax,%eax
   2:   66 0f 1f 44 00 00       nopw   0x0(%eax,%eax,1)
   8:   c3                      ret

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

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