]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: Fix load endianness for lxvwsx/lxvdsx
authorGiuseppe Musacchio <thatlemon@gmail.com>
Tue, 18 May 2021 13:30:20 +0000 (15:30 +0200)
committerMichael Roth <michael.roth@amd.com>
Thu, 14 Oct 2021 20:09:27 +0000 (15:09 -0500)
commit59ac5e6d61fcf95d723c7191711ff9b7f6462320
tree15d30e4af7adeec5c9c52c1c6819f821529eea4f
parente2258e527950fff984f1be0a71dbbae2cb14ebfc
target/ppc: Fix load endianness for lxvwsx/lxvdsx

TARGET_WORDS_BIGENDIAN may not match the machine endianness if that's a
runtime-configurable parameter.

Fixes: bcb0b7b1a1c05707304f80ca6f523d557816f85c
Fixes: afae37d98ae991c0792c867dbd9f32f988044318
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/212

Signed-off-by: Giuseppe Musacchio <thatlemon@gmail.com>
Message-Id: <20210518133020.58927-1-thatlemon@gmail.com>
Tested-by: Paul A. Clarke <pc@us.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
(cherry picked from commit 861f10fd528263a507476b8c4dda93a9588dfa5c)
Signed-off-by: Michael Roth <michael.roth@amd.com>
target/ppc/translate/vsx-impl.c.inc