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

2008-10-11 Thread swanson at ukfsn dot org
mtune Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: swanson at ukfsn dot org CC: bug

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

2008-10-11 Thread swanson at ukfsn dot org
--- Additional Comments From swanson at ukfsn dot org 2008-10-11 14:28 --- Created an attachment (id=2995) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2995&action=view) binutils-cvs-fix-i386-nop.patch -- http://sourceware.org/bugzilla/show_bug.cgi?id=6957

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

2008-10-12 Thread swanson at ukfsn dot org
--- Additional Comments From swanson at ukfsn dot org 2008-10-12 10:20 --- Created an attachment (id=2997) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2997&action=view) binutils-cvs-fix2-i386-nop.patch Add bitfield checking back to patch for .arch settings. First po

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

2008-10-12 Thread swanson at ukfsn dot org
--- Additional Comments From swanson at ukfsn dot org 2008-10-12 09:37 --- But currently the only arch flags checked in i386_align_code was cpui686 which is where we should disable use of NOPL for mentioned reasons. -- http://sourceware.org/bugzilla/show_bug.cgi?id=6957 --- You

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

2008-10-12 Thread swanson at ukfsn dot org
--- Additional Comments From swanson at ukfsn dot org 2008-10-12 13:25 --- Sorry but how can PROCESSOR_UNKNOWN mean it can run any instructions? It's unknown! Therefore we must use lowest common denominator to expect it to work on all CPUs. Tune means scheduling. Arch