* AArch64: fixed spilling info for MOVK (part of mantis )

git-svn-id: trunk@49206 -
This commit is contained in:
Jonas Maebe 2021-04-14 20:56:29 +00:00
parent 5442e9f9d8
commit 4b4ae79609

View File

@ -1046,6 +1046,13 @@ implementation
{ check for pre/post indexed in spilling_get_operation_type_ref }
result:=operand_read;
end;
A_MOVK:
begin
if opnr=0 then
result:=operand_readwrite
else
result:=operand_read;
end;
{$ifdef EXTDEBUG}
{ play save to avoid hard to find bugs, better fail at compile time }
A_ADD,
@ -1080,7 +1087,6 @@ implementation
A_LSR,
A_LSRV,
A_MOV,
A_MOVK,
A_MOVN,
A_MOVZ,
A_MSUB,