depending on your actual processor you should set it to x86-64-v3 or x86-64-v4.
it exposes more processorflags/features to the OS.
im usually running them with v3, as my processors dont support AVX512.
the xeon gold 5118 supports AVX-512, so you could go with v4.
dont forget to set the +aes flag.