In the Linux kernel, we use (except in certain very restricted contexts) only
the subset of the x86 instruction set that can never cause #TS faults and thus
doesn't use the FSAVE/FXSAVE/XSAVE state.  It appears that we need to add new
-mno- options (-mno-sse -mno-sse2 -mno-sse3...) as gcc starts using new subsets
of the x86 instruction set.  This is error prone, for obvious reasons.

We would really like a single option that would turn off all instructions
subsets that can cause a #TS fault.


-- 
           Summary: Request a single option to turn off all instructions
                    which can cause #TS
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hpa at zytor dot com
 GCC build triplet: Any
  GCC host triplet: Any
GCC target triplet: i386-any


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40236

Reply via email to