i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.

* config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
	* config/i386/i386.opt (msse5): New Alias.

From-SVN: r168821
This commit is contained in:
Joseph Myers 2011-01-14 21:03:22 +00:00 committed by Joseph Myers
parent f2060fbe8f
commit eb5bb0fd0b
3 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2011-01-14 Joseph Myers <joseph@codesourcery.com>
* config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
* config/i386/i386.opt (msse5): New Alias.
2011-01-14 Joseph Myers <joseph@codesourcery.com>
* config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.

View File

@ -1,6 +1,6 @@
/* Definitions of target machine for GCC for IA-32.
Copyright (C) 1988, 1992, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
This file is part of GCC.
@ -553,9 +553,7 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
/* Specs for the compiler proper */
#ifndef CC1_CPU_SPEC
#define CC1_CPU_SPEC_1 "\
%{msse5:-mavx \
%n'-msse5' was removed\n}"
#define CC1_CPU_SPEC_1 ""
#ifndef HAVE_LOCAL_CPU_DETECT
#define CC1_CPU_SPEC CC1_CPU_SPEC_1

View File

@ -1,7 +1,7 @@
; Options for the IA-32 and AMD64 ports of the compiler.
; Copyright (C) 2005, 2006, 2007, 2008, 2009,
; 2010 Free Software Foundation, Inc.
; 2010, 2011 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
@ -320,6 +320,10 @@ mno-sse4
Target RejectNegative Report InverseMask(ISA_SSE4_1) MaskExists Var(ix86_isa_flags) Save
Do not support SSE4.1 and SSE4.2 built-in functions and code generation
msse5
Target Undocumented Alias(mavx) Warn(%<-msse5%> was removed)
;; Deprecated
mavx
Target Report Mask(ISA_AVX) Var(ix86_isa_flags)
Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2 and AVX built-in functions and code generation