Browse Source

* proper fix for 9056ab80257b71fb8bcdf90be2f71e2fbbf912b9

florian 1 year ago
parent
commit
7c609ee7c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/x86/hlcgx86.pas

+ 1 - 1
compiler/x86/hlcgx86.pas

@@ -109,7 +109,7 @@ implementation
     begin
 {$ifdef I8086}
       { BTR/BTS is only supportd by 80386 CPU or later }
-      if current_settings.cputype < cpu_386 then
+      if not(CPUX86_HAS_BTX in cpu_capabilities[current_settings.optimizecputype]) then
 	inherited
       else
 {$endif I8086}