target/ppc: Fix xxspltib
commit4c406ca7345e874f16110734907af970c968d727
authorAnton Blanchard <anton@ozlabs.org>
Wed, 8 May 2019 20:17:33 +0000 (9 06:17 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 29 May 2019 01:39:44 +0000 (29 11:39 +1000)
tree6224d90ac53250c32945a25fc7da608d63e4ade2
parent7fa0ddc1d63806769d1b6246a62708d3bde39037
target/ppc: Fix xxspltib

xxspltib raises a VMX or a VSX exception depending on the register
set it is operating on. We had a check, but it was backwards.

Fixes: f113283525a4 ("target-ppc: add xxspltib instruction")
Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Message-Id: <20190509061713.69490488@kryten>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate/vsx-impl.inc.c