Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 1 Aug 2019 16:00:16 +1000
From: Patrick Oppenlander <patrick.oppenlander@...il.com>
To: musl@...ts.openwall.com
Subject: Minor arm __syscall_cp_asm optimisation

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.

Patch attached.

Kind regards,

Patrick

View attachment "0001-don-t-unnecessarily-preserve-link-register.patch" of type "text/x-patch" (950 bytes)

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.