target/ppc: Fix vslv and vsrv
commit63be02fc69d44442dc7eb316d44f1c1fbe49c075
authorAnton Blanchard <anton@ozlabs.org>
Tue, 7 May 2019 00:48:08 +0000 (7 10:48 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 29 May 2019 01:39:44 +0000 (29 11:39 +1000)
tree5802df13ef7e8f2271c5e607791a96f280a7f13d
parentd47a751adab7833e9831408376077bc8dba41d5d
target/ppc: Fix vslv and vsrv

vslv and vsrv are broken on little endian, we append 00 to the
high byte not the low byte. Fix it by using the VsrB() accessor.

Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Message-Id: <20190507004811.29968-6-anton@ozlabs.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/int_helper.c