TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: AHEM A RIVET`S SHOT
from: TAUNO VOIPIO
date: 2021-01-06 16:42:00
subject: Re: AI and decompilation?

On 6.1.21 14.42, Ahem A Rivet's Shot wrote:
> On Wed, 6 Jan 2021 14:17:30 +0200
> Tauno Voipio  wrote:
>
>> This is a common construction in compiler-generated
>> machine code, if the first function calls another
>> just before return.
>>
>> bar:    .cfi_startproc
>>           ... do something
>>           call foo
>>           ret
>
>  I recall optimising things like that by changing the last two lines
> to:
>  jmp foo
>
>> foo:    .. do more ..
>>           ret
>

That's what I intended to say. Try the current release of
GCC for ARM Cortex.

There may be a register pop before the jump, to keep the
stack correct.

--

-TV

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.