This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,i386] Properly check xgetbv for zmm support.
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Ilya Tocar <tocarip dot intel at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 15 Sep 2014 17:33:52 +0200
- Subject: Re: [PATCH,i386] Properly check xgetbv for zmm support.
- Authentication-results: sourceware.org; auth=none
- References: <20140915152832 dot GC1778 at msticlxl7 dot ims dot intel dot com>
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.