target-ppc: Fix xxpermdi When T==A or T==B
commitf5bc1bfa35af5288fe43f459696e712474dafc66
authorTom Musta <tommusta@gmail.com>
Mon, 10 Feb 2014 17:25:09 +0000 (10 11:25 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 5 Mar 2014 02:06:48 +0000 (5 03:06 +0100)
tree3e0539f30117085137d5085266f60ce106e38871
parent3f34cf910cbc4e77d25a300d8c290ae50bdcc2ed
target-ppc: Fix xxpermdi When T==A or T==B

The existing implementation of xxpermdi is defective if the target
VSR is also a source VSR.  This patch fixes the defect in this case
but also preserves the simpler, two TCG operation implementation
when the target is not once of the two sources.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate.c