Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 6 Aug 2019 15:07:10 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: Minor arm __syscall_cp_asm optimisation

* Patrick Oppenlander <patrick.oppenlander@...il.com> [2019-08-01 16:00:16 +1000]:
> Hi all,
> 
> while debugging something unrelated I noticed a minor optimisation we
> can make to __syscall_cp_asm for arm.
> 
> Unless I'm missing something the only reason we needed to preserve the
> link register was because we were using a branch-link instruction to
> branch to __cp_cancel. Replacing this with a branch means we can avoid
> the save/restore as the link register is no longer modified.

the change makes sense to me.

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.