Janne Hyvärinen wrote:> Something seems to be wrong with cpu.c CPU detection code. When I > compile things with MSVC all instructions except FMA is detected as > missing, even though they are present in my CPU. That of course results > in awful performance.What Windows version and CPU was this? Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
On 2.1.2017 19.02, Erik de Castro Lopo wrote:> Janne Hyvärinen wrote: > >> Something seems to be wrong with cpu.c CPU detection code. When I >> compile things with MSVC all instructions except FMA is detected as >> missing, even though they are present in my CPU. That of course results >> in awful performance. > What Windows version and CPU was this? > > ErikThat shouldn't matter. The __cpuid function was called with feature_id set to 0 so it was only returning manufacturer info. Not the features that were asked. But I'm on Windows 10 and CPU is Core i7-4771.
Janne Hyvärinen wrote:> That shouldn't matter.I realise that, but I wanted a better idea about how many people this is like to affect. If you were on Windows XP on some old processor this would probably not affect many people, but since you are on Windows 10 with a Core i7 thats a different matter. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/