diff mbox series

[10/16] arm: [MVE intrinsics] add support for mve_q_p_f

Message ID 20230509121937.206183-10-christophe.lyon@arm.com
State New
Headers show
Series [01/16] arm: [MVE intrinsics] add binary_maxvminv shape | expand

Commit Message

Christophe Lyon May 9, 2023, 12:19 p.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gcc/config/arm/arm-mve-builtins-functions.h b/gcc/config/arm/arm-mve-builtins-functions.h
index bf4e209a720..ddedbb2a8e1 100644
--- a/gcc/config/arm/arm-mve-builtins-functions.h
+++ b/gcc/config/arm/arm-mve-builtins-functions.h
@@ -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);