qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: Michael Rolnik <mrolnik@gmail.com>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: A question regarding TARGET_ALIGNED_ONLY flag
Date: Sun, 19 May 2024 17:26:28 +0200	[thread overview]
Message-ID: <c220a44a-5265-4003-b386-cc633f21d44b@linaro.org> (raw)
In-Reply-To: <CAK4993hFKoQh14k1L4cMrHrDzBn23D59aM-PQJ3pu6uH4qfsGw@mail.gmail.com>

On 5/19/24 16:23, Michael Rolnik wrote:
> Hi all,
> 
> Previously there was *TARGET_ALIGNED_ONLY* option that caused all memory accessed to be 
> aligned, now it seems to be removed.
> Is there a way to achieve memory access alignment with QEMU v9.0.0 when I am building a 
> custom target?

Explicitly add MO_ALIGN to the MemOp argument of tcg_gen_qemu_{ld,st}_{i32,i64,i128}.


r~



  reply	other threads:[~2024-05-19 15:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-19 14:23 A question regarding TARGET_ALIGNED_ONLY flag Michael Rolnik
2024-05-19 15:26 ` Richard Henderson [this message]
2024-05-20  6:19   ` Michael Rolnik

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=c220a44a-5265-4003-b386-cc633f21d44b@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=mrolnik@gmail.com \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).