]> git.proxmox.com Git - mirror_qemu.git/commit
target-ppc: Load/Store Vector Element Storage Alignment
authorTom Musta <tommusta@gmail.com>
Mon, 17 Nov 2014 20:58:31 +0000 (14:58 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 7 Jan 2015 15:16:25 +0000 (16:16 +0100)
commit2791128e2fa8b96d0b81622404655529b0b4fd4d
tree427d59c65c6b2e2b71303e221f81d13f82a8a780
parentcb3778a0455a2e5a48d7ef0ec8dc656313820389
target-ppc: Load/Store Vector Element Storage Alignment

The Load Vector Element Indexed and Store Vector Element Indexed
instructions compute an effective address in the usual manner.
However, they truncate that address to the natural boundary.
For example, the lvewx instruction will ignore the least significant
two bits of the address and thus load the aligned word of storage.

Fix the generators for these instruction to properly perform this
truncation.

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