From: David Miller <davem@davemloft.net>
To: linux-crypto@ml.breakpoint.cc
Cc: herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org,
rueegsegger@swiss-it.ch
Subject: Re: [PATCH v2] crypto: rmd128: make it work on my prefered architecture
Date: Wed, 21 May 2008 00:36:11 -0700 (PDT) [thread overview]
Message-ID: <20080521.003611.48425916.davem@davemloft.net> (raw)
In-Reply-To: <20080521072059.GB5290@Chamillionaire.breakpoint.cc>
From: Sebastian Siewior <linux-crypto@ml.breakpoint.cc>
Date: Wed, 21 May 2008 09:20:59 +0200
> Yes, that could be case. However a "manual" swap has three opcodes here,
> the le load has one. I should not end up with more code in the latter
> cases hould I?
You indeed can, because GCC has less information to work with when
the inline asm powerpc has for byteswapped loads is used.
For example, only limited addressing modes work with those inline
asms, so gcc has to load addresses into registers.
In fact it's even worse, look at the inline asm in asm-powerpc/byteorder.h,
it always loads the final address into a register, so there is zero possiblity
of using indexed addressing modes.
So yes, you should in fact see more code :-)
next prev parent reply other threads:[~2008-05-21 7:36 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-15 20:07 [PATCH] crypto: rmd128: make it work on my prefered architecture Sebastian Siewior
2008-05-17 8:10 ` [PATCH v2] " Sebastian Siewior
2008-05-17 8:20 ` Sebastian Siewior
2008-05-17 8:22 ` David Miller
2008-05-17 8:27 ` Sebastian Siewior
2008-05-17 8:37 ` Herbert Xu
2008-05-17 8:47 ` Sebastian Siewior
2008-05-17 9:01 ` David Miller
2008-05-17 9:14 ` Sebastian Siewior
2008-05-17 9:55 ` David Miller
2008-05-17 9:56 ` Herbert Xu
2008-05-21 2:47 ` David Miller
2008-05-21 7:09 ` Sebastian Siewior
2008-05-21 7:11 ` David Miller
2008-05-21 7:20 ` Sebastian Siewior
2008-05-21 7:36 ` David Miller [this message]
2008-05-26 11:05 ` Herbert Xu
2008-05-27 11:37 ` David Miller
2008-05-29 8:44 ` Sebastian Siewior
2008-06-02 20:17 ` Sebastian Siewior
2008-06-03 0:00 ` Herbert Xu
2008-05-18 21:35 ` [PATCH] [CRYPTO] rmd128: Fix endian problems Adrian-Ken Rueegsegger
2008-05-18 22:01 ` Sebastian Siewior
2008-05-19 20:01 ` Sebastian Siewior
2008-05-19 20:37 ` Adrian-Ken Rüegsegger
2008-05-19 20:59 ` Sebastian Siewior
2008-05-19 21:24 ` Adrian-Ken Rüegsegger
2008-05-20 2:28 ` Herbert Xu
2008-05-20 3:42 ` Herbert Xu
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=20080521.003611.48425916.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@ml.breakpoint.cc \
--cc=linux-crypto@vger.kernel.org \
--cc=rueegsegger@swiss-it.ch \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox