Re: Cross-Compiling x86_64 but for different CPU

2025-01-05 Thread Dmitry Kozlyuk
2024-12-31 11:45 (UTC+0300), Zaid M: > I have an Intel CPU but I want to compile an optimized binary for AMD > (x86_64) which may have a different CPU instruction set (e.g. avx512 or > avx512bw) and I don't want to use "-Dplatform=generic". How can I achieve > that? When you use `-Dplatform=generi

Cross-Compiling x86_64 but for different CPU

2025-01-05 Thread Zaid M
I have an Intel CPU but I want to compile an optimized binary for AMD (x86_64) which may have a different CPU instruction set (e.g. avx512 or avx512bw) and I don't want to use "-Dplatform=generic". How can I achieve that?