e-kud wrote:

> Let me know whether you are happy with this solution or not.

Yes, thanks, I agree, this is better. Since we disable AVX10 version completely 
with any of options 256 or 512 (some kind of duplication), it means that we 
can't partially disable it, so these options doesn't make much sense.

And some uncommon scenarios are also available e.g., to benchmark a function 
compiled with `avx10.2-256` in `avx10.2-512` context we need to use 
`__attribute__((target("no-avx10.1-512")))`. So basically `no-avx10.1-512` is 
an option to disable 512 bit instructions of AVX10 regardless of enabled AVX10.x


https://github.com/llvm/llvm-project/pull/124511
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to