From: Harvey Harrison <harvey.harrison@gmail.com>
To: Russell King <rmk+lkml@arm.linux.org.uk>
Cc: David Howells <dhowells@redhat.com>,
Andrew Morton <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: FRV/ARM unaligned access question
Date: Wed, 08 Oct 2008 02:34:07 -0700 [thread overview]
Message-ID: <1223458447.8195.93.camel@brick> (raw)
In-Reply-To: <20081008091055.GB19322@flint.arm.linux.org.uk>
On Wed, 2008-10-08 at 10:10 +0100, Russell King wrote:
> On Wed, Oct 08, 2008 at 12:36:19AM -0700, Harvey Harrison wrote:
> > On Wed, 2008-10-08 at 08:35 +0100, Russell King wrote:
> > > On Wed, Oct 08, 2008 at 12:26:13AM -0700, Harvey Harrison wrote:
> > > > I noticed that frv/arm are the only two arches that currently use open-coded
> > > > byteshifting routines for both the cpu endianness and the other endianness
> > > > whereas just about all the other arches use a packed-struct version for the
> > > > cpu-endian and then the byteshifting versions (lifted from arm) for the other
> > > > endianness.
> > >
> > > I'm sorry, I think you're mistaken. I've looked at x86, m68k and
> > > parisc, and they all use assembly for their swab functions in
> > > asm/byteorder.h.
> > >
> >
> > Sorry, not talking about byteorder at the moment, talking about
> > unaligned.h.
>
> At the moment, I've no idea what effect it'll have. I'd need to run
> some tests to discover what the effect will be. Not sure when I'll
> get around to that.
>
> If someone else can be found to evaluate what the effect would be...
>
I don't have hardware to test with, but I'll do some cross-compiles to
investigate a bit. I was just curious if there was any known issues on
arm, or a specific arm compiler that made you choose the implementation
you did.
Cheers,
Harvey
next prev parent reply other threads:[~2008-10-08 9:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-08 7:26 FRV/ARM unaligned access question Harvey Harrison
2008-10-08 7:35 ` Russell King
2008-10-08 7:36 ` Harvey Harrison
2008-10-08 9:10 ` Russell King
2008-10-08 9:34 ` Harvey Harrison [this message]
2008-10-08 11:16 ` David Howells
2008-10-08 20:22 ` Harvey Harrison
2008-10-09 11:35 ` David Howells
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=1223458447.8195.93.camel@brick \
--to=harvey.harrison@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=dhowells@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk+lkml@arm.linux.org.uk \
/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