From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15677 invoked by alias); 24 May 2009 18:11:01 -0000 Received: (qmail 15610 invoked by uid 48); 24 May 2009 18:10:33 -0000 Date: Sun, 24 May 2009 18:11:00 -0000 Subject: [Bug target/40236] New: Request a single option to turn off all instructions which can cause #TS X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hpa at zytor dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-05/txt/msg01935.txt.bz2 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