From: Joseph Myers Date: Fri, 14 Jan 2011 21:03:22 +0000 (+0000) Subject: i386.h (CC1_CPU_SPEC_1): Don't handle -msse5. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb5bb0fd0b6c96b1be18145c0134860fedac2b1a;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 12c7f731d34..a16dc28ed55 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-01-14 Joseph Myers + + * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5. + * config/i386/i386.opt (msse5): New Alias. + 2011-01-14 Joseph Myers * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}. diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 65f005b01d3..f14a95d6dd5 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -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 diff --git a/gcc/config/i386/i386.opt b/gcc/config/i386/i386.opt index 026f1c7acc2..85362d73105 100644 --- a/gcc/config/i386/i386.opt +++ b/gcc/config/i386/i386.opt @@ -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