From cee0d6d251ede5cfd9873adec20f5a87b33022b7 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 5 Aug 2011 12:29:35 +0000 Subject: [PATCH] Add -march=core-avx-i. 2011-08-05 H.J. Lu * config/i386/i386.c (processor_alias_table): Add core-avx-i. * doc/invoke.texi: Document core-avx-i. From-SVN: r177429 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/i386.c | 5 +++++ gcc/doc/invoke.texi | 4 ++++ 3 files changed, 15 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb2adc82514..f269930732d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-08-05 H.J. Lu + + * config/i386/i386.c (processor_alias_table): Add core-avx-i. + + * doc/invoke.texi: Document core-avx-i. + 2011-08-05 Rainer Orth * tsystem.h (CONST_CAST2, CONST_CAST): Define. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 2d1e83a6de8..d56645fe09d 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -2969,6 +2969,11 @@ ix86_option_override_internal (bool main_args_p) PTA_64BIT | PTA_MMX | PTA_SSE | PTA_SSE2 | PTA_SSE3 | PTA_SSSE3 | PTA_SSE4_1 | PTA_SSE4_2 | PTA_AVX | PTA_CX16 | PTA_POPCNT | PTA_AES | PTA_PCLMUL}, + {"core-avx-i", PROCESSOR_COREI7_64, CPU_COREI7, + PTA_64BIT | PTA_MMX | PTA_SSE | PTA_SSE2 | PTA_SSE3 + | PTA_SSSE3 | PTA_SSE4_1 | PTA_SSE4_2 | PTA_AVX + | PTA_CX16 | PTA_POPCNT | PTA_AES | PTA_PCLMUL | PTA_FSGSBASE + | PTA_RDRND | PTA_F16C}, {"atom", PROCESSOR_ATOM, CPU_ATOM, PTA_64BIT | PTA_MMX | PTA_SSE | PTA_SSE2 | PTA_SSE3 | PTA_SSSE3 | PTA_CX16 | PTA_MOVBE}, diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 264d1b0f350..6fd78d57951 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -12321,6 +12321,10 @@ and SSE4.2 instruction set support. @item corei7-avx Intel Core i7 CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AES and PCLMUL instruction set support. +@item core-avx-i +Intel Core CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, SSSE3, +SSE4.1, SSE4.2, AVX, AES, PCLMUL, FSGSBASE, RDRND and F16C instruction +set support. @item atom Intel Atom CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3 and SSSE3 instruction set support. -- 2.30.2