From d16321ad9ba4d495e57f93b48554bf69f7873966 Mon Sep 17 00:00:00 2001
From: Christophe Lyon <christophe.lyon@arm.com>
Date: Mon, 13 Feb 2023 21:05:37 +0000
Subject: [PATCH] arm: [MVE intrinsics] add support for mve_q_p_f

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 --git a/gcc/config/arm/arm-mve-builtins-functions.h b/gcc/config/arm/arm-mve-builtins-functions.h
index bf4e209a7206..ddedbb2a8e14 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);
 
-- 
GitLab