https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96144

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

https://gcc.gnu.org/g:a6645a826f58b68f68dff30e6e6e78542099d0cc

commit r11-2013-ga6645a826f58b68f68dff30e6e6e78542099d0cc
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Thu Jul 9 14:56:48 2020 -0700

    x86: Check TARGET_AVX512VL when enabling FMA

    Check TARGET_AVX512VL when enabling FMA to avoid

    gcc.target/i386/avx512er-vrsqrt28ps-3.c:25:1: error: unrecognizable insn:
    (insn 29 28 30 6 (set (reg:V8SF 108)
            (fma:V8SF (reg:V8SF 106)
                (reg:V8SF 105)
                (reg:V8SF 110)))

    when TARGET_AVX512VL isn't enabled.

            PR target/96144
            * config/i386/i386-expand.c (ix86_emit_swsqrtsf): Check
            TARGET_AVX512VL when enabling FMA.

Reply via email to