This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Support for Runtime CPU type detection via builtins (issue5754058)


Patch committed.

Thanks,
-Sri.

On Wed, Apr 25, 2012 at 4:52 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Wed, Apr 25, 2012 at 4:38 PM, Sriraman Tallam <tmsriram@google.com> wrote:
>> Hi H.J,
>>
>> ? Could you please review this patch for AVX2 check?
>>
>> ? ? ? ?* config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
>> ? ? ? ?(get_available_features): New argument. Check for AVX2.
>> ? ? ? ?(__cpu_indicator_init): Modify call to get_available_features
>> .
>> ? ? ? ?* doc/extend.texi: Document avx2 support.
>> ? ? ? ?* testsuite/gcc.target/i386/builtin_target.c: Check avx2.
>> ? ? ? ?* config/i386/i386.c (fold_builtin_cpu): Add avx2.
>>
>
> It looks good to me.
>
> Thanks.
>
> --
> H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]