This is a proposal for additional switches to be included on the command line
to prevent inclusion of processor supplementary instructions. This enhancement
provides greater support for compilation of code to be utilized between
different generations of CPU.
Proposed switches:
--nocpuid This option causes the assembler to error if a cpuid instruction is
encountered
--nocmov This option causes the assembler to error if a cmov instruction is
encountered
--nofcmov This option causes the assembler to error if an fcmov instruction is
encountered
--nofcomi This option causes the assembler to error if an fcomi instruction is
encountered
--nonopl This option causes the assembler to error if an fcomi instruction is
encountered
--nordpmc This option causes the assembler to error if an rdpmc instruction is
encountered
--nordtsc This option causes the assembler to error if an rdtsc instruction is
encountered
Possibly a general switch that is equivalent to all of the above
--nosupplementaryinstructions
Rationale
It is possible that a developer still wants to compile for a particular
architecture (for example the i486), but does not wish to generate code with
supplementary instructions (such as cpuid), that may be present on that
architecture.
--
Summary: Additional switches to disallow processor supplementary
instructions
Product: binutils
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P3
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: markhobley at yahoo dot co dot uk
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=9782
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils