target/ppc: fix vextu[bhw][lr]x helpers
commitf297c4c605e5f4412d12c4d7241df62326f47542
authorMatheus Ferst <matheus.ferst@eldorado.org.br>
Thu, 26 Aug 2021 14:14:46 +0000 (26 11:14 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 27 Aug 2021 02:41:47 +0000 (27 12:41 +1000)
tree8fde35c62ec7612110097fdb574fa0a3dec11fc7
parent181b0c333d1fb278fe72df67e9d35558fcdf3623
target/ppc: fix vextu[bhw][lr]x helpers

These helpers shouldn't depend on the host endianness, as they only use
shifts, ands, and int128_* methods.

Fixes: 60caf2216bf0 ("target-ppc: add vextu[bhw][lr]x instructions")
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20210826141446.2488609-3-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/int_helper.c