From 8049a2d2a16bf5e6d7b82273fe2219ad0432319c Mon Sep 17 00:00:00 2001 From: chetan singh rathore Date: Thu, 19 Sep 2024 10:10:38 +0530 Subject: [PATCH] Update test_c032.c : Add check for EBF16 (#478) --- test_pool/pe/operating_system/test_c032.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test_pool/pe/operating_system/test_c032.c b/test_pool/pe/operating_system/test_c032.c index 72d8acde..37cee538 100644 --- a/test_pool/pe/operating_system/test_c032.c +++ b/test_pool/pe/operating_system/test_c032.c @@ -34,10 +34,12 @@ static void payload(void) return; } - /* ID_AA64ISAR1_EL1.BF16[47:44] = 0b0001 indicate FEAT_BF16 support */ + /* ID_AA64ISAR1_EL1.BF16[47:44] = 0b0001 indicate FEAT_BF16 support + and 0b0010 indicates FEAT_EBF16 (which implements BF16 extension)*/ + data = VAL_EXTRACT_BITS(val_pe_reg_read(ID_AA64ISAR1_EL1), 44, 47); - if (data == 1) + if ((data == 1) || (data == 2)) val_set_status(index, RESULT_PASS(TEST_NUM, 01)); else val_set_status(index, RESULT_FAIL(TEST_NUM, 01));