target-ppc: implement vnegw/d instructions
commitcc8b6e76e3d924de7a4413706a3749e413ccf6fb
authorNikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Wed, 19 Oct 2016 06:06:46 +0000 (19 11:36 +0530)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 27 Oct 2016 22:36:58 +0000 (28 09:36 +1100)
tree1b56834994d77fb3efc9ec207ec5b2f304661bbc
parentc6363bae1731754a7153bf8b08c616f52c635304
target-ppc: implement vnegw/d instructions

Vector Integer Negate Instructions:

vnegw: Vector Negate Word
vnegd: Vector Negate Doubleword

Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/helper.h
target-ppc/int_helper.c
target-ppc/translate/vmx-impl.inc.c
target-ppc/translate/vmx-ops.inc.c