title: Dynamically determining where a rogue AVX-512 instruction is executing
body: <p>I have a process running on an Intel machine that supports AVX-512, but this process doesn't directly use any AVX-512 instructions (asm or intrinsics) and is compiled with <code>-mno-avx512f</code> so that the compiler doesn't insert any AVX-512 instructions.</p>
  
  <p>Yet, it is running indefinitely at the reduced AVX turbo frequency. No doubt there is an AVX-512 instruction sneaking in somewhere, via a library, (very unlikely) system call or something like that.</p>
  
  <p>Rather than try to "binary search" down where the AVX-512 instruction is coming from, is there some way I can find it immediately, e.g., trapping on such an instruction? </p>
  
  <p>OS is Ubuntu 16.04.</p>