Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170618190935.GJ27071@port70.net>
Date: Sun, 18 Jun 2017 21:09:35 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: [PATCH] fix arm run-time abi string functions

* Alexander Monakov <amonakov@...ras.ru> [2017-06-18 22:05:59 +0300]:
> On Sun, 18 Jun 2017, Szabolcs Nagy wrote:
> > > here it's possible to hoist and deduplicate 'cmp r2, #0; bxeq lr' by placing it
> > > prior to the direction check.
> > > 
> > 
> > i dont think there is a difference
> > (either way, both functions need to do this cmp once,
> > the executed insns are the same you just changed the
> > ordering a bit)
> 
> I was pointing that out as a size optimization, but depending on alignment
> of the following code it might be pointless indeed.
> 

i dont think the size changes, only the order of instructions

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.