]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: Fix lxvw4x, lxvh8x and lxvb16x
authorAnton Blanchard <anton@ozlabs.org>
Tue, 4 Jun 2019 19:01:15 +0000 (20:01 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 17 Sep 2019 20:17:04 +0000 (15:17 -0500)
commit75f83e7c4a270fdd42253510d48c0ff1ae166751
tree634122dda0e8d65aa65a2403f7fb9d4aed72d953
parentb6159fc9a67c78c0783db0b7e704b8f57f827f6b
target/ppc: Fix lxvw4x, lxvh8x and lxvb16x

During the conversion these instructions were incorrectly treated as
stores. We need to use set_cpu_vsr* and not get_cpu_vsr*.

Fixes: 8b3b2d75c7c0 ("introduce get_cpu_vsr{l,h}() and set_cpu_vsr{l,h}() helpers for VSR register access")
Signed-off-by: Anton Blanchard <anton@ozlabs.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tested-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <20190524065345.25591-1-mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
(upstream commit 2a1224359008e23b051b7b45be4789afa0269f8c)
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target/ppc/translate/vsx-impl.inc.c