qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>, qemu-devel@nongnu.org
Cc: qemu-s390x@nongnu.org, qemu-riscv@nongnu.org,
	Richard Henderson <richard.henderson@linaro.org>,
	Ilya Leoshkevich <iii@linux.ibm.com>,
	David Hildenbrand <david@kernel.org>
Subject: Re: [PATCH-for-11.0 v2 08/12] target/s390x: Use big-endian variant of cpu_ld/st_data*()
Date: Wed, 26 Nov 2025 09:23:10 +0100	[thread overview]
Message-ID: <90ea99f1-8cc5-4f13-af5e-5cc1f9499609@redhat.com> (raw)
In-Reply-To: <20251126075003.4826-9-philmd@linaro.org>

On 26/11/2025 08.49, Philippe Mathieu-Daudé wrote:
> We only build the S390x target using big endianness order,
> therefore the cpu_ld/st_data*() definitions expand to the
> big endian declarations. Use the explicit big-endian variants.
> 
> Mechanical change running:
> 
>    $ tgt=s390x; \
>      end=be; \
>      for op in data mmuidx_ra; do \
>        for ac in uw sw l q; do \
>          sed -i -e "s/cpu_ld${ac}_${op}/cpu_ld${ac}_${end}_${op}/" \
>                    $(git grep -l cpu_ target/${tgt}/); \
>        done;
>        for ac in w l q; do \
>          sed -i -e "s/cpu_st${ac}_${op}/cpu_st${ac}_${end}_${op}/" \
>                    $(git grep -l cpu_ target/${tgt}/); \
>        done;
>      done
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>   target/s390x/tcg/mem_helper.c | 48 +++++++++++++++++------------------
>   target/s390x/tcg/vec_helper.c |  8 +++---
>   2 files changed, 28 insertions(+), 28 deletions(-)

Reviewed-by: Thomas Huth <thuth@redhat.com>



  reply	other threads:[~2025-11-26  8:23 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-26  7:49 [PATCH-for-11.0 v2 00/12] accel/tcg: Remove most MO_TE uses in cpu_ld/st_data() Philippe Mathieu-Daudé
2025-11-26  7:49 ` [PATCH-for-11.0 v2 01/12] target/hexagon: Use little-endian variant of cpu_ld/st_data*() Philippe Mathieu-Daudé
2025-11-26 18:01   ` Richard Henderson
2025-11-26  7:49 ` [PATCH-for-11.0 v2 02/12] target/hppa: " Philippe Mathieu-Daudé
2025-11-26 18:03   ` Richard Henderson
2025-11-26  7:49 ` [PATCH-for-11.0 v2 03/12] target/i386: " Philippe Mathieu-Daudé
2025-11-26 18:03   ` Richard Henderson
2025-11-26  7:49 ` [PATCH-for-11.0 v2 04/12] target/riscv: Use little-endian variant of cpu_ld/st_data*() for vector Philippe Mathieu-Daudé
2025-11-26  9:16   ` Daniel Henrique Barboza
2025-11-26  7:49 ` [PATCH-for-11.0 v2 05/12] target/rx: Use little-endian variant of cpu_ld/st_data*() Philippe Mathieu-Daudé
2025-11-26 18:05   ` Richard Henderson
2025-11-26  7:49 ` [PATCH-for-11.0 v2 06/12] target/tricore: " Philippe Mathieu-Daudé
2025-11-26 18:06   ` Richard Henderson
2025-11-26  7:49 ` [PATCH-for-11.0 v2 07/12] target/m68k: Use big-endian " Philippe Mathieu-Daudé
2025-11-26  7:49 ` [PATCH-for-11.0 v2 08/12] target/s390x: " Philippe Mathieu-Daudé
2025-11-26  8:23   ` Thomas Huth [this message]
2025-11-26  7:50 ` [PATCH-for-11.0 v2 09/12] target/sparc: " Philippe Mathieu-Daudé
2025-11-26 18:10   ` Richard Henderson
2025-11-26  7:50 ` [PATCH-for-11.0 v2 10/12] target/sh4: Replace cpu_stl_data() by explicit endianness variants Philippe Mathieu-Daudé
2025-11-26  7:50 ` [PATCH-for-11.0 v2 11/12] target/mips: Use big-endian variant of cpu_ld/st_data*() for MSA opcode Philippe Mathieu-Daudé
2025-11-26  7:50 ` [PATCH-for-11.0 v2 12/12] accel/tcg: Remove non-explicit endian cpu_ld/st*_data*() helpers Philippe Mathieu-Daudé

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=90ea99f1-8cc5-4f13-af5e-5cc1f9499609@redhat.com \
    --to=thuth@redhat.com \
    --cc=david@kernel.org \
    --cc=iii@linux.ibm.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-riscv@nongnu.org \
    --cc=qemu-s390x@nongnu.org \
    --cc=richard.henderson@linaro.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).