From: Denys Vlasenko <vda.linux@googlemail.com>
To: Rich Felker <dalias@libc.org>
Cc: musl <musl@lists.openwall.com>
Subject: Re: Draft of improved memset.s for i386
Date: Tue, 24 Feb 2015 04:02:09 +0100 [thread overview]
Message-ID: <CAK1hOcN0EaHwzH+LdnNntM1=3-rnHY-hotY1RBD0xB0qeb1SxQ@mail.gmail.com> (raw)
In-Reply-To: <20150224010952.GA10683@brightrain.aerifal.cx>
On Tue, Feb 24, 2015 at 2:09 AM, Rich Felker <dalias@libc.org> wrote:
> mov %edi,12(%esp)
Shouldn't this be "mov 12(%esp),%edi"?
It's a load of dst pointer from stack, right?
> mov $0x01010101,%edx
> imul %edx,%eax
I think you can just use "imul $0x01010101,%eax" instead.
(We can't use this form of imul in 64-bit code
since its immediate operand can't be 64-bit wide).
next prev parent reply other threads:[~2015-02-24 3:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-24 1:09 Rich Felker
2015-02-24 3:02 ` Denys Vlasenko [this message]
2015-02-24 3:06 ` Denys Vlasenko
2015-02-24 3:18 ` Rich Felker
2015-02-24 5:36 ` Rich Felker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAK1hOcN0EaHwzH+LdnNntM1=3-rnHY-hotY1RBD0xB0qeb1SxQ@mail.gmail.com' \
--to=vda.linux@googlemail.com \
--cc=dalias@libc.org \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).