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.

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

Reply via email to