OSDN Git Service

target-ppc: Fix Altivec Shifts
authorTom Musta <tommusta@gmail.com>
Wed, 29 Oct 2014 15:02:39 +0000 (10:02 -0500)
committerAlexander Graf <agraf@suse.de>
Tue, 4 Nov 2014 22:26:15 +0000 (23:26 +0100)
commit24e669ba531a0ffb5e5c3583bc39ff84eaeabf16
tree3346435c4a14cd3a9e3fa1fe6bb4ec86eab058a2
parent36cbde7c30ead127dcd7c03b96d4dabf10a6d6c5
target-ppc: Fix Altivec Shifts

Fix the implementation of the Altivec shift left and shift right
instructions (vsl, vsr) which erroneously inverts shift direction
on big endian hosts.

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