Armv8.4-A adds a few FP16 instructions that can optionally be implemented
in CPUs of Armv8.2-A and above.
This patch adds a feature to clang to permit selection of these
instructions. This interacts with the +fp16 option as follows:
Prior to Armv8.4-A:
*) +fp16fml implies +fp16
*) +nofp16 implies +nofp16fml
From Armv8.4-A:
*) The above conditions apply, additionally: +fp16 implies +fp16fml
Hi @SjoerdMeijer , I have noticed that this test does something different from what gcc does (well, claims to do, I haven't checked the actual behavior on gcc).
From the table in [1], it seems that armv8.4-a implies fp16fml... who got it right? GCC or clang? Or am I missing something?
Francesco
[1] https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#AArch64-Options (see the description of -march=name)