소스 검색

* x86: CMOV optimisations now check optimizecputype rather than cputype

J. Gareth "Curious Kit" Moreton 2 년 전
부모
커밋
df80d4e612
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/x86/aoptx86.pas

+ 1 - 1
compiler/x86/aoptx86.pas

@@ -11712,7 +11712,7 @@ unit aoptx86;
                   Result:=true;
                   exit;
                 end
-              else if (CPUX86_HAS_CMOV in cpu_capabilities[current_settings.cputype]) and
+              else if (CPUX86_HAS_CMOV in cpu_capabilities[current_settings.optimizecputype]) and
                 MatchInstruction(hp1,A_MOV,[S_W,S_L{$ifdef x86_64},S_Q{$endif x86_64}]) then
                 begin
                  { check for