[x64] Add kX64EmitGFNI emitter feature-flag

This determines support for the `gf2p8affineqb` instruction. Even though `GFNI` is typically found with AVX512-enabled chips, it _is_ possible for there to be a chip with `GFNI` but does not support `AVX` or `AVX2` of any sort. An example of this is Tremont(Lakefield) chips as well as Jasper Lake.

13df339fe7/GenuineIntel/GenuineIntel00806A1_Lakefield_LC_InstLatX64.txt (L1297-L1299)

13df339fe7/GenuineIntel/GenuineIntel00906C0_JasperLake_InstLatX64.txt (L1252-L1254)
This commit is contained in:
Wunkolo
2021-12-28 20:08:48 -08:00
committed by Rick Gibbed
parent 5d1b53cd6f
commit fba23e3e75
3 changed files with 12 additions and 8 deletions

View File

@@ -37,10 +37,11 @@ DEFINE_int32(x64_extension_mask, -1,
" 16 = BMI2\n"
" 32 = F16C\n"
" 64 = Movbe\n"
" 128 = AVX512F\n"
" 256 = AVX512VL\n"
" 512 = AVX512BW\n"
" 1024 = AVX512DQ\n"
" 128 = GFNI\n"
" 256 = AVX512F\n"
" 512 = AVX512VL\n"
" 1024 = AVX512BW\n"
" 2048 = AVX512DQ\n"
" -1 = Detect and utilize all possible processor features\n",
"x64");