Thanks,

Updated testsuite/ChangeLog:
2011-10-21  H.J. Lu  <hongjiu...@intel.com>
            Kirill Yukhin  <kirill.yuk...@intel.com>

        * gcc.target/i386/avx2-check.h (main): Check CPUID level
        correctly.
        * gcc.target/i386/bmi2-check.h: Ditto.


Could anybody please commit that?

K

On Fri, Oct 21, 2011 at 4:56 PM, Uros Bizjak <ubiz...@gmail.com> wrote:
> On Fri, Oct 21, 2011 at 12:46 PM, Kirill Yukhin <kirill.yuk...@gmail.com> 
> wrote:
>
>> Here is the patch which checks CPUID correctly to get BMI/BMI2/AVX2 feature.
>>
>> ChangeLog entry is:
>> 2011-10-21  H.J. Lu  <hongjiu...@intel.com>
>>            Kirill Yukhin  <kirill.yuk...@intel.com>
>>
>>        * config/i386/driver-i386.c (host_detect_local_cpu): Do cpuid 7 only
>>        if max_level allows that.
>>
>> testsuite/ChangeLg entry is
>> 2011-10-21  H.J. Lu  <hongjiu...@intel.com>
>>            Kirill Yukhin  <kirill.yuk...@intel.com>
>>
>>        * gcc.target/i386/avx2-check.h (main): Check CPU level
>>        correctly.
>
> Chech CPUID level ...
>
>>        * gcc.target/i386/bmi2-check.h: Ditto.
>>
>> Bootstrap has passed.
>
> OK.
>
> Thanks,
> Uros.
>

Reply via email to