[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 15/15] target/arm: Export bfdotadd from vec_helper.c
From: |
Richard Henderson |
Subject: |
[PATCH v3 15/15] target/arm: Export bfdotadd from vec_helper.c |
Date: |
Fri, 27 May 2022 11:06:23 -0700 |
We will need this over in sme_helper.c.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/arm/vec_internal.h | 2 ++
target/arm/vec_helper.c | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/target/arm/vec_internal.h b/target/arm/vec_internal.h
index 43cff5ec7c..5e50c503aa 100644
--- a/target/arm/vec_internal.h
+++ b/target/arm/vec_internal.h
@@ -230,4 +230,6 @@ uint64_t pmull_h(uint64_t op1, uint64_t op2);
*/
uint64_t pmull_w(uint64_t op1, uint64_t op2);
+float32 bfdotadd(float32 sum, uint32_t e1, uint32_t e2);
+
#endif /* TARGET_ARM_VEC_INTERNAL_H */
diff --git a/target/arm/vec_helper.c b/target/arm/vec_helper.c
index 4db68fbbb3..b3e8039cdb 100644
--- a/target/arm/vec_helper.c
+++ b/target/arm/vec_helper.c
@@ -2557,7 +2557,7 @@ DO_MMLA_B(gvec_usmmla_b, do_usmmla_b)
* BFloat16 Dot Product
*/
-static float32 bfdotadd(float32 sum, uint32_t e1, uint32_t e2)
+float32 bfdotadd(float32 sum, uint32_t e1, uint32_t e2)
{
/* FPCR is ignored for BFDOT and BFMMLA. */
float_status bf_status = {
--
2.34.1
- [PATCH v3 11/15] target/arm: Export sve contiguous ldst support functions, (continued)
- [PATCH v3 11/15] target/arm: Export sve contiguous ldst support functions, Richard Henderson, 2022/05/27
- [PATCH v3 10/15] target/arm: Split out load/store primitives to sve_ldst_internal.h, Richard Henderson, 2022/05/27
- [PATCH v3 12/15] target/arm: Move expand_pred_b to vec_internal.h, Richard Henderson, 2022/05/27
- [PATCH v3 13/15] target/arm: Use expand_pred_b in mve_helper.c, Richard Henderson, 2022/05/27
- [PATCH v3 14/15] target/arm: Move expand_pred_h to vec_internal.h, Richard Henderson, 2022/05/27
- [PATCH v3 15/15] target/arm: Export bfdotadd from vec_helper.c,
Richard Henderson <=
- [PATCH v3 04/15] target/arm: Merge aarch64_sve_zcr_get_valid_len into caller, Richard Henderson, 2022/05/27