summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortg74 <tg74@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-12-30 07:10:37 +0000
committertg74 <tg74@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-12-30 07:10:37 +0000
commitf15155f7f2d5f0aaf789504e01d5e587fd21fc71 (patch)
tree8170daf8833d1feb4e15a98188b73d28ef1e97b7
parent39285931d199e8811567100e34f852e255c22382 (diff)
downloadfpc-f15155f7f2d5f0aaf789504e01d5e587fd21fc71.tar.gz
internal assembler-reader x86 opsize local/global var - cleanup
git-svn-id: https://svn.freepascal.org/svn/fpc/branches/tg74@47899 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r--avx512-0037785/compiler/x86/aasmcpu.pas18
1 files changed, 1 insertions, 17 deletions
diff --git a/avx512-0037785/compiler/x86/aasmcpu.pas b/avx512-0037785/compiler/x86/aasmcpu.pas
index 5e5cd3b769..280ceee384 100644
--- a/avx512-0037785/compiler/x86/aasmcpu.pas
+++ b/avx512-0037785/compiler/x86/aasmcpu.pas
@@ -1825,24 +1825,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;