On 02/03/2023 2:28 pm, Jan Beulich wrote: > Checking for what $(SIMD) contains was initially right, but already the > addition of $(FMA) wasn't. Later categories (correctly) weren't added. > Instead what is of interest is anything the main harness source file > uses outside of suitable #if and without resorting to .byte, as that's > the one file (containing actual tests) which has to succeed in building. > The auxiliary binary blobs we utilize may fail to build; the resulting > empty blobs are recognized and reported as "n/a" when the harness is > run. > > Note that strictly speaking we'd need to probe the assembler. We assume > that a compiler knowing of a certain ISA extension is backed by an > equally capable assembler. > > Signed-off-by: Jan Beulich <jbeul...@suse.com>
Acked-by: Andrew Cooper <andrew.coop...@citrix.com>