소스 검색

bugfix error with avx-memory-parameter OT_MEM128,OT_MEM256,OT_MEM512

git-svn-id: branches/tg74/avx512@42667 -
tg74 6 년 전
부모
커밋
ad791e8e34
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      compiler/x86/aasmcpu.pas

+ 6 - 0
compiler/x86/aasmcpu.pas

@@ -1707,6 +1707,12 @@ implementation
            { Check the operand flags }
            if (insot and (not currot) and OT_NON_SIZE)<>0 then
              exit;
+
+           // IGNORE VECTOR-MEMORY-SIZE
+           if insot and OT_MEMORY = OT_MEMORY then
+            insot := insot and not(OT_BITS128 or OT_BITS256 or OT_BITS512);
+
+
            { Check if the passed operand size matches with one of
              the supported operand sizes }
            if ((insot and OT_SIZE_MASK)<>0) and