Skip to main content

dr_mcontext_zmm_fields_valid

Function dr_mcontext_zmm_fields_valid 

Source
pub unsafe extern "C" fn dr_mcontext_zmm_fields_valid() -> bool_
Expand description

Returns true if the simd fields in dr_mcontext_t are valid zmm values (i.e., whether the underlying processor and OS support AVX-512 and AVX-512 code is present). \note If #DR_MC_MULTIMEDIA is not specified when calling dr_get_mcontext(), the simd fields will not be filled in regardless of the return value of this routine.