https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89929
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- > In addition, it seems that gcc recognizes this as valid syntax: > > __attribute__((target("avx512bw", "avx512f"))) > > But actually ignores everything after the comma in target's arguments. Not > sure if I should open another bug for that. Please find a small testcase > attached. No, that's documented behavior: ``` Multiple target back ends implement the target attribute to specify that a function is to be compiled with different target options than specified on the command line. One or more strings can be provided as arguments. Each string consists of one or more comma-separated suffixes to the -m prefix jointly forming the name of a machine-dependent option. See Machine-Dependent Options. ``` It allows you to specify multiple target options.