On Tue, Nov 08, 2016 at 02:50:21PM -0200, Jose Ricardo Ziviani wrote: > v5: > - reuse bcd_cmp_zero function > - improve zoned loop by using one index > > v4: > - throws invalid for any instruction not implemented by default > - creates a function to compare bcd value to zero > > v3: > - generates invalid instruction excpetion when opc4 is not handled/invalid > - changes get_national ret. type to uint16_t to handle invalid encoding > - small improvements > > v2: > - implements all fixes and suggestions > > This serie contains 4 new instructions for POWER9 ISA3.0
Applied to ppc-for-2.8. Note that there was a conflict in
vmx-ops.inc.c. It was pretty simple to resolve, but in future please
try to make sure your series are rebased on top of the latest
ppc-for-2.8.
>
> bcdcfn.: Decimal Convert From National
> bcdctn.: Decimal Convert To National
> bcdcfz.: Decimal Convert From Zoned
> bcdctz.: Decimal Convert to Zoned
>
>
> Jose Ricardo Ziviani (4):
> target-ppc: Implement bcdcfn. instruction
> target-ppc: Implement bcdctn. instruction
> target-ppc: Implement bcdcfz. instruction
> target-ppc: Implement bcdctz. instruction
>
> target-ppc/helper.h | 4 +
> target-ppc/int_helper.c | 186
> ++++++++++++++++++++++++++++++++++++
> target-ppc/translate/vmx-impl.inc.c | 73 ++++++++++++++
> target-ppc/translate/vmx-ops.inc.c | 4 +-
> 4 files changed, 265 insertions(+), 2 deletions(-)
>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
