Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK1hOcNRpkN_cK_sfW396+c41iops4weO_jVu2JEb7rs2h2JyQ@mail.gmail.com>
Date: Mon, 16 Feb 2015 11:09:25 +0100
From: Denys Vlasenko <vda.linux@...glemail.com>
To: Rich Felker <dalias@...c.org>
Cc: musl <musl@...ts.openwall.com>
Subject: Re: [PATCH] x86_64/memset: use "small block" code for blocks
 up to 30 bytes long

On Sun, Feb 15, 2015 at 11:55 PM, Rich Felker <dalias@...c.org> wrote:
>> "sub $8,%rcx" can be folded into lea.
>
> No, it can't, for the above reason.

Why can't?

lea -9(%rdx), %rcx

will also underflow for %rdx == 0, just like "lea -1".

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.