Adds to DynamoRIO's fixed number of SIMD slots to include AVX-512 registers on 64-bit UNIX. If processor and OS support AVX-512, proc_num_simd_registers() will now return 32. The number of registers has not been updated in the Windows build yet.
Please note that proc_num_simd_saved() is not yet switched to reflect AVX-512, even if AVX-512 instructions are present in the application. DynamoRIO does not yet maintain, preserve, or restore AVX-512 context yet.
Fixes corresponding tests and adds comments.
Further adds to backwards compatibility handling in dr_mcontext_to_priv_mcontext() and priv_mcontext_to_dr_mcontext(). It is now accepting the simd structure's layout before this commit. This patch adds more error handling if the wrong size is passed by the client.
Issue: #1312