target/ppc: Fix load endianness for lxvwsx/lxvdsx
commit861f10fd528263a507476b8c4dda93a9588dfa5c
authorGiuseppe Musacchio <thatlemon@gmail.com>
Tue, 18 May 2021 13:30:20 +0000 (18 15:30 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 19 May 2021 00:44:04 +0000 (19 10:44 +1000)
treea457f3726f497a7c8e1abf350b5fb4952bce5f1f
parent51eb7b1d10f42761e8cf69d4f4be9a709017b73e
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>
target/ppc/translate/vsx-impl.c.inc