]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm: [MVE intrinsics] add support for mve_q_p_f
authorChristophe Lyon <christophe.lyon@arm.com>
Mon, 13 Feb 2023 21:05:37 +0000 (21:05 +0000)
committerChristophe Lyon <christophe.lyon@arm.com>
Tue, 9 May 2023 18:31:16 +0000 (20:31 +0200)
We can call code_for_mve_q_p_f only once this function exists, which
is the case after we factorized vmaxnmavq, vmaxnmvq, vminnmavq and
vminnmvq in a previous patch.

2022-09-08  Christophe Lyon <christophe.lyon@arm.com>

gcc/
* config/arm/arm-mve-builtins-functions.h
(unspec_mve_function_exact_insn_pred_p): Use code_for_mve_q_p_f.

gcc/config/arm/arm-mve-builtins-functions.h

index bf4e209a720670b9e082c3cdc51cb40931f0c700..ddedbb2a8e14106e95952ebfb4a15ccfc841a827 100644 (file)
@@ -428,7 +428,7 @@ public:
          else
            code = code_for_mve_q_p (m_unspec_for_p_sint, m_unspec_for_p_sint, e.vector_mode (0));
        else
-         gcc_unreachable ();  /* Will be fixed later in the series.  */
+         code = code_for_mve_q_p_f (m_unspec_for_p_fp, e.vector_mode (0));
 
        return e.use_exact_insn (code);