Ver código fonte

internal assembler-reader x86 opsize local/global var - cleanup

git-svn-id: branches/tg74/avx512-0037785@47899 -
tg74 4 anos atrás
pai
commit
195c8b599c
1 arquivos alterados com 1 adições e 17 exclusões
  1. 1 17
      compiler/x86/aasmcpu.pas

+ 1 - 17
compiler/x86/aasmcpu.pas

@@ -1827,24 +1827,8 @@ implementation
           for i:=0 to p^.ops-1 do
            begin
              insot:=p^.optypes[i];
-             if ((insot and (OT_XMMRM or OT_REG_EXTRA_MASK)) = OT_XMMRM) OR
-                ((insot and (OT_YMMRM or OT_REG_EXTRA_MASK)) = OT_YMMRM) OR
-                ((insot and (OT_ZMMRM or OT_REG_EXTRA_MASK)) = OT_ZMMRM) then
-             begin
-               if (insot and OT_SIZE_MASK) = 0 then
-               begin
-                 case insot and (OT_XMMRM or OT_YMMRM or OT_ZMMRM or OT_REG_EXTRA_MASK) of
-                   OT_MEM128: insot := insot or OT_BITS128;
-                   OT_MEM256: insot := insot or OT_BITS256;
-                   OT_MEM512: insot := insot or OT_BITS512;
-
-                   else
-                     ;
-                 end;
-               end;
-             end;
-
              currot:=oper[i]^.ot;
+
              { Check the operand flags }
              if (insot and (not currot) and OT_NON_SIZE)<>0 then
                exit;