Skip to content

Commit

Permalink
Update test_c032.c : Add check for EBF16 (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
chetan-rathore committed Sep 19, 2024
1 parent 65a3f57 commit 8049a2d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test_pool/pe/operating_system/test_c032.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 8049a2d

Please sign in to comment.