bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/9782] New: Additional switches to disallow processor supplement


From: markhobley at yahoo dot co dot uk
Subject: [Bug gas/9782] New: Additional switches to disallow processor supplementary instructions
Date: 24 Jan 2009 14:38:29 -0000

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.




reply via email to

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