target-ppc: add vextu[bhw][lr]x instructions
commit60caf2216bf03d0f32ef11cb670279d0dea6d593
authorAvinesh Kumar <avinesku@linux.vnet.ibm.com>
Mon, 28 Nov 2016 07:56:42 +0000 (28 13:26 +0530)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 30 Jan 2017 23:10:13 +0000 (31 10:10 +1100)
treee6239b6f32a1f9513c480989e192257d0732e05b
parent466a3f9ca34dabb40f5e2c9c143939304cd6fb9e
target-ppc: add vextu[bhw][lr]x instructions

vextublx: Vector Extract Unsigned Byte Left
vextuhlx: Vector Extract Unsigned Halfword Left
vextuwlx: Vector Extract Unsigned Word Left
vextubrx: Vector Extract Unsigned Byte Right-Indexed VX-form
vextuhrx: Vector Extract Unsigned  Halfword Right-Indexed VX-form
vextuwrx: Vector Extract Unsigned Word Right-Indexed VX-form

Signed-off-by: Avinesh Kumar <avinesku@linux.vnet.ibm.com>
Signed-off-by: Hariharan T.S. <hari@linux.vnet.ibm.com>
[ implement using int128_rshift ]
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/cpu.h
target/ppc/helper.h
target/ppc/int_helper.c
target/ppc/translate/vmx-impl.inc.c
target/ppc/translate/vmx-ops.inc.c