From 7b6269eb5807836e53f4af40bbcbbd4ccf63485c Mon Sep 17 00:00:00 2001 From: Viet-Hoa Do Date: Wed, 21 May 2025 16:26:48 +0100 Subject: [PATCH] Avoid FEAT_FP16 requirement unnecessarily * The conversion between FP32 and FP16 is part of the base instruction set and does not require FEAT_FP16. The equivalent functions in the test framework need to change to avoid the need for FEAT_FP16. Signed-off-by: Viet-Hoa Do --- test/common/float16_asm.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/common/float16_asm.S b/test/common/float16_asm.S index c23c1590..22b75de1 100644 --- a/test/common/float16_asm.S +++ b/test/common/float16_asm.S @@ -1,5 +1,5 @@ // -// SPDX-FileCopyrightText: Copyright 2024 Arm Limited and/or its affiliates +// SPDX-FileCopyrightText: Copyright 2024-2025 Arm Limited and/or its affiliates // // SPDX-License-Identifier: Apache-2.0 // @@ -37,11 +37,11 @@ KAI_ASM_LABEL_GLOBAL(kai_test_float16_from_float) fcvt h0, s0 - fmov w0, h0 + fmov w0, s0 // Use s0 instead of h0 to avoid unnecessary need for FEAT_FP16. ret KAI_ASM_LABEL_GLOBAL(kai_test_float_from_float16) - fmov h0, w0 + fmov s0, w0 // Use s0 instead of h0 to avoid unnecessary need for FEAT_FP16. fcvt s0, h0 ret -- GitLab