Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190806130709.GD22009@port70.net>
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

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