mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 14:46:06 +02:00
bugfix disp8*N global variable
git-svn-id: branches/tg74/avx512-0037785@47215 -
This commit is contained in:
parent
ab22f9b3fb
commit
673a113c0f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user