[PATCH,i386] Properly check xgetbv for zmm support.

Uros Bizjak ubizjak@gmail.com
Mon Sep 15 15:33:00 GMT 2014


On Mon, Sep 15, 2014 at 5:28 PM, Ilya Tocar <tocarip.intel@gmail.com> wrote:

> Currently we don't check zmm/mask-registers related bits in xgetbv
> output, when detecting native cpu. Patch below fixes it.
> Bootstraps/passes make check.
> Ok for trunk?
>
> ChangeLog:
>
> gcc/
> 2014-09-15  Ilya Tocar  <ilya.tocar@intel.com>
>
>         * config/i386/driver-i386.c (host_detect_local_cpu): Detect lack of
>         zmm/k regs support.
>
> testsuite/
> 2014-09-15  Ilya Tocar  <ilya.tocar@intel.com>
>
>         * gcc.target/i386/avx512f-os-support.h: Remove magic number.

OK.

Thanks,
Uros.



More information about the Gcc-patches mailing list