Fix a typo in how the AVX512DQ feature bit is checked.
Reviewed by: kib Sponsored by: Intel
This commit is contained in:
parent
710ac905ba
commit
3eb06a2526
@ -236,6 +236,12 @@ bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment,
|
||||
return (error);
|
||||
}
|
||||
|
||||
bus_dma_tag_t
|
||||
bus_dma_tag_alloc(bus_dma_tag_t parent, bus_dma_props_t props)
|
||||
{
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
int
|
||||
bus_dma_tag_destroy(bus_dma_tag_t dmat)
|
||||
{
|
||||
|
@ -1069,7 +1069,7 @@ hw_mds_recalculate(void)
|
||||
}
|
||||
xcr0 = rxcr(0);
|
||||
if ((xcr0 & XFEATURE_ENABLED_ZMM_HI256) != 0 &&
|
||||
(cpu_stdext_feature2 & CPUID_STDEXT_AVX512DQ) != 0)
|
||||
(cpu_stdext_feature & CPUID_STDEXT_AVX512DQ) != 0)
|
||||
mds_handler = mds_handler_skl_avx512;
|
||||
else if ((xcr0 & XFEATURE_ENABLED_AVX) != 0 &&
|
||||
(cpu_feature2 & CPUID2_AVX) != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user