public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Chubb <peter@chubb.wattle.id.au>
To: linux-ia64@vger.kernel.org
Subject: Unaligned access question
Date: Thu, 25 Sep 2003 02:04:55 +0000	[thread overview]
Message-ID: <marc-linux-ia64-106445553030155@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106445366428887@msgid-missing>

>>>>> "Ian" = Ian Wienand <ianw@gelato.unsw.edu.au> writes:

Ian> Hi,

Ian> This isn't directly related to kernel development, but I am a bit
Ian> stumped as to why my test program below causes an unaligned
Ian> access when 'i' is 7 (that is, when it tries to access across a
Ian> 64 bit boundary of 'array').  It's counter intuitive to me, I
Ian> would have expected it either fault on all loads (for every value
Ian> of 'i') or to have not faulted at all.

The IA64 can handle unaligned acceses itself if they're within a small
window -- eight bytes for Itanium-2, can't remember for Itanium-I --
and if PSR.ac is 0.

--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
You are lost in a maze of BitKeeper repositories,   all slightly different.

  reply	other threads:[~2003-09-25  2:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-25  1:34 Unaligned access question Ian Wienand
2003-09-25  2:04 ` Peter Chubb [this message]
2003-09-25  2:23 ` Martin Pool
2003-09-25  8:32 ` Andreas Schwab

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=marc-linux-ia64-106445553030155@msgid-missing \
    --to=peter@chubb.wattle.id.au \
    --cc=linux-ia64@vger.kernel.org \
    /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