Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 16 Feb 2015 11:09:25 +0100
From: Denys Vlasenko <>
To: Rich Felker <>
Cc: musl <>
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 <> 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.