bugfix disp8*N global variable

git-svn-id: branches/tg74/avx512-0037785@47215 -
This commit is contained in:
tg74 2020-10-27 05:16:06 +00:00
parent ab22f9b3fb
commit 673a113c0f

View File

@ -2186,12 +2186,20 @@ implementation
begin
if aInput.typ = top_ref then
begin
if (aInput.ref^.offset <> 0) and
((aInput.ref^.offset mod tuplesize) = 0) and
(abs(aInput.ref^.offset) div tuplesize <= 127) then
begin
aInput.ref^.offset := aInput.ref^.offset div tuplesize;
EVEXTupleState := etsIsTuple;
// TODO delete
Message1(asmr_w_segment_override_ignored_in_64bit_mode, ' "top_ref: " ' + generic_regname(aInput.ref^.base));
if aInput.ref^.base <> NR_NO then
begin
if (aInput.ref^.offset <> 0) and
((aInput.ref^.offset mod tuplesize) = 0) and
(abs(aInput.ref^.offset) div tuplesize <= 127) then
begin
aInput.ref^.offset := aInput.ref^.offset div tuplesize;
EVEXTupleState := etsIsTuple;
end;
end;
end;
end;