Skip to content

Commit

Permalink
bugfix FMA3
Browse files Browse the repository at this point in the history
Change-Id: I2ebcadbf35a12ae36b2eeaebabc923eb52b4a82d
  • Loading branch information
Hammond, Jeff R committed Mar 25, 2020
1 parent b4f7d94 commit c5741fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpu-count.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ bool is_knm(void)
bool has_fma3(void)
{
/* leaf 1 - basic features */
uint32_t leaf1[4]={0x7,0x0,0x0,0x0};
uint32_t leaf1[4]={0x1,0x0,0x0,0x0};

__cpuid_count(leaf1[0], leaf1[2], leaf1[0], leaf1[1], leaf1[2], leaf1[3]);
PDEBUG("0x1: %x,%x,%x,%x\n", leaf1[0], leaf1[1], leaf1[2], leaf1[3]);
Expand Down

0 comments on commit c5741fd

Please sign in to comment.