target-ppc: implement xxbr[qdwh] instruction
commit14fd8ab26752c725b16766c823952e3138924293
authorNikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Wed, 19 Oct 2016 06:06:47 +0000 (19 11:36 +0530)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 27 Oct 2016 22:36:58 +0000 (28 09:36 +1100)
tree98c8f6011ea6afa0ced31b92ed4b50bc6282181e
parentcc8b6e76e3d924de7a4413706a3749e413ccf6fb
target-ppc: implement xxbr[qdwh] instruction

Add required helpers (GEN_XX2FORM_EO) for supporting this instruction.

xxbrh: VSX Vector Byte-Reverse Halfword
xxbrw: VSX Vector Byte-Reverse Word
xxbrd: VSX Vector Byte-Reverse Doubleword
xxbrq: VSX Vector Byte-Reverse Quadword

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/translate.c
target-ppc/translate/vsx-impl.inc.c
target-ppc/translate/vsx-ops.inc.c