qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Yongbok Kim <yongbok.kim@imgtec.com>,
	Leon Alrae <leon.alrae@imgtec.com>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH 3/3] tcg: Add MO_ALIGN, MO_UNALN
Date: Wed, 13 May 2015 14:08:28 -0700	[thread overview]
Message-ID: <5553BD4C.3060305@twiddle.net> (raw)
In-Reply-To: <CAFEAcA8f=xy3Tzxq1kWr4m0eWrAxQvEMYZGL=pJyyvoR5WdQRA@mail.gmail.com>

>     /* MO_UNALN accesses are never checked for alignment; MO_ALIGN
>      * accesses will result in a call to the CPU's do_unaligned_access
>      * hook if the guest address is not aligned. The default depends
>      * on whether the target CPU defines ALIGNED_ONLY.
>      */

Fair enough.

> Are unaligned accesses always slow-path, by the way?

Yes.


r~

  reply	other threads:[~2015-05-13 21:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-13 19:09 [Qemu-devel] [RFC 0/3] Per-memory-op alignment checks Richard Henderson
2015-05-13 19:09 ` [Qemu-devel] [PATCH 1/3] tcg: Merge memop and mmu_idx parameters to qemu_ld/st Richard Henderson
2015-05-13 20:46   ` Peter Maydell
2015-05-13 20:49     ` Richard Henderson
2015-05-13 19:09 ` [Qemu-devel] [PATCH 2/3] tcg: Push merged memop+mmu_idx parameter to softmmu routines Richard Henderson
2015-05-13 20:54   ` Peter Maydell
2015-05-13 21:06     ` Richard Henderson
2015-05-13 21:12       ` Peter Maydell
2015-05-13 19:10 ` [Qemu-devel] [PATCH 3/3] tcg: Add MO_ALIGN, MO_UNALN Richard Henderson
2015-05-13 21:04   ` Peter Maydell
2015-05-13 21:08     ` Richard Henderson [this message]
2015-05-13 21:15       ` Peter Maydell
2015-05-13 21:19         ` Richard Henderson

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=5553BD4C.3060305@twiddle.net \
    --to=rth@twiddle.net \
    --cc=leon.alrae@imgtec.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=yongbok.kim@imgtec.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.
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).