# HG changeset patch # User Pascal Bellard # Date 1638809092 0 # Node ID ffa068512f60f4aa1491731058a6cd2690b526b7 # Parent d383d2a6cb20ca06f402302dd9943ce4ed58b093 linld : fix lm detection diff -r d383d2a6cb20 -r ffa068512f60 linld/stuff/src/_BEG.ASM --- a/linld/stuff/src/_BEG.ASM Mon Dec 06 12:18:58 2021 +0000 +++ b/linld/stuff/src/_BEG.ASM Mon Dec 06 16:44:52 2021 +0000 @@ -271,7 +271,7 @@ inc ax cpuid ; again cause of Nasty EMM386s push eax - bt edx,26 ; sse2 bit + shr edx,1+26 ; test bit 26 (sse2), clear bit 29 (lm) jnc baseInfo else jne @@no_cpuid ; CPUID feature bit changed ?