| 1 | // |
| 2 | // SPDX-FileCopyrightText: Copyright 2025 Arm Limited and/or its affiliates <open-source-office@arm.com> |
| 3 | // |
| 4 | // SPDX-License-Identifier: Apache-2.0 |
| 5 | // |
| 6 | |
| 7 | #include "test/common/assembly.h" |
| 8 | |
| 9 | KAI_ASM_HEADER |
| 10 | |
| 11 | KAI_ASM_EXPORT(kai_test_float_to_bfloat16_bfcvt) |
| 12 | |
| 13 | KAI_ASM_FUNCTION(kai_test_float_to_bfloat16_bfcvt) |
| 14 | KAI_ASM_INST(0x1e634000) // bfcvt h0, s0 |
| 15 | fmov w0, h0 |
| 16 | ret |
| 17 | |
| 18 | KAI_ASM_FOOTER |