wok-current rev 24155
linld : fix lm detection
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 06 16:44:52 2021 +0000 (2021-12-06) |
parents | d383d2a6cb20 |
children | 352993bf2f20 |
files | linld/stuff/src/_BEG.ASM |
line diff
1.1 --- a/linld/stuff/src/_BEG.ASM Mon Dec 06 12:18:58 2021 +0000 1.2 +++ b/linld/stuff/src/_BEG.ASM Mon Dec 06 16:44:52 2021 +0000 1.3 @@ -271,7 +271,7 @@ 1.4 inc ax 1.5 cpuid ; again cause of Nasty EMM386s 1.6 push eax 1.7 - bt edx,26 ; sse2 bit 1.8 + shr edx,1+26 ; test bit 26 (sse2), clear bit 29 (lm) 1.9 jnc baseInfo 1.10 else 1.11 jne @@no_cpuid ; CPUID feature bit changed ?