* on aarch64-darwin, the unused part of function results is not cleared

(cherry picked from commit a517ada539)
This commit is contained in:
florian 2023-09-10 19:27:21 +02:00 committed by Jonas Maebe
parent d520814adb
commit 75a6fbb813

View File

@ -382,7 +382,7 @@ unit cpupara;
This is not required for iOS, where the result is zero/sign extended.
}
if (target_info.abi<>abi_aarch64_darwin) and
if (target_info.system<>system_aarch64_ios) and
(side=callerside) and (result.location^.loc = LOC_REGISTER) and
(result.def.size<8) and is_ordinal(result.def) then
begin