target-ppc: Altivec 2.07: vmuluw Instruction
authorTom Musta <tommusta@gmail.com>
Wed, 12 Feb 2014 21:23:02 +0000 (15:23 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 5 Mar 2014 02:06:54 +0000 (03:06 +0100)
commit953f0f5842a8515fd85ae28ebcdc219f8e7b76fe
tree50ab6359c2eea383e9154fb0c1a6c37186e31dd8
parent63be09365a9a4658060e85ce013cc0beaeac25e5
target-ppc: Altivec 2.07: vmuluw Instruction

This patch adds the Vector Multiply Unsigned Word Modulo (vmuluwm)
instruction.

The existing VARITH_DO macro is re-used to (trivially) instantiate
the helper code.

Since bits 21-31 of any vmuluwm instruction is 137, the instruction
is coded as a dual to vmulouw (bits 21-31 = 136).

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