瀏覽代碼

* compilation on i386 fixed

git-svn-id: trunk@47369 -
florian 4 年之前
父節點
當前提交
c3a0e0c6d2
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      compiler/x86/cgx86.pas

+ 2 - 0
compiler/x86/cgx86.pas

@@ -1891,9 +1891,11 @@ unit cgx86;
             if UseAVX then
               begin
                 asmop:=opmm2asmop_full_avx[op];
+{$ifdef x86_64}
                 { A_VPXOR does not support the upper 16 registers }
                 if (asmop=A_VPXOR) and (FPUX86_HAS_32MMREGS in fpu_capabilities[current_settings.fputype]) then
                   asmop:=A_VPXORD;
+{$endif x86_64}
                 if size in [OS_M256,OS_M512] then
                   Include(current_procinfo.flags,pi_uses_ymm);
               end