Re: [Development] Implicit VFMADD support (Was: Updating x86 SIMD support in Qt)

2022-01-24 Thread Konstantin Shegunov
On Mon, Jan 24, 2022 at 8:50 PM Thiago Macieira wrote: > If you're talking about code in Qt, simply use std::fma and it'll do the > right > thing. It becomes my problem to optimise it so we get the shortest code > emission, not yours. > So as it is now in that case. If it's not my problem but yo

Re: [Development] Implicit VFMADD support (Was: Updating x86 SIMD support in Qt)

2022-01-24 Thread Thiago Macieira
On Monday, 24 January 2022 10:36:41 PST Konstantin Shegunov wrote: > *My* code, is supposed to fix Qt code at some point, so that's why I'm > asking. I know I have to do it myself for user code, that's not an issue. If you're talking about code in Qt, simply use std::fma and it'll do the right th

Re: [Development] Implicit VFMADD support (Was: Updating x86 SIMD support in Qt)

2022-01-24 Thread Konstantin Shegunov
On Mon, Jan 24, 2022 at 7:32 PM Thiago Macieira wrote: > Today, only in the two files with "_avx2" in the name, unless you raise > the > CPU architecture yourself while configuring Qt. My proposal is to get that > on > Linux by default with the v3 extra build. > Yes, this I got from the discussi

Re: [Development] Implicit VFMADD support (Was: Updating x86 SIMD support in Qt)

2022-01-24 Thread Thiago Macieira
On Monday, 24 January 2022 09:07:16 PST Konstantin Shegunov wrote: > Related, but somewhat offtopic for the original thread. > Do we get `-mfma` (or equivalent) added, whenever supported, while we build > Qt. Today, only in the two files with "_avx2" in the name, unless you raise the CPU architec

[Development] Implicit VFMADD support (Was: Updating x86 SIMD support in Qt)

2022-01-24 Thread Konstantin Shegunov
Related, but somewhat offtopic for the original thread. Do we get `-mfma` (or equivalent) added, whenever supported, while we build Qt. Is it part of the feature detection? Because I want `std::fma` to emit the instruction(s), but I've noticed that in the code I test a bugfix with I must force the

Re: [Development] Updating x86 SIMD support in Qt

2022-01-24 Thread Thiago Macieira
On Monday, 24 January 2022 05:30:46 PST Konrad Rosenbaum wrote: > I have absolutely no problem with stuff running faster and more > efficient on my two laptops (which are significantly more modern), but I > would have a major problem with it not running at all on my workstation > that I use for 95%

Re: [Development] Updating x86 SIMD support in Qt

2022-01-24 Thread Rui Oliveira
Hey, Since Qt has its own Conan/Artifactory setup , maybe it would be viable to have some different SIMD setups available as options for the Qt package? This would require Conan as a dependency, of course. On most systems that