[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v5 0/4] POWER9 TCG enablements - BCD functions part
From: |
Jose Ricardo Ziviani |
Subject: |
[Qemu-devel] [PATCH v5 0/4] POWER9 TCG enablements - BCD functions part I |
Date: |
Tue, 8 Nov 2016 14:50:21 -0200 |
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
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(-)
--
2.7.4
- [Qemu-devel] [PATCH v5 0/4] POWER9 TCG enablements - BCD functions part I,
Jose Ricardo Ziviani <=
- [Qemu-devel] [PATCH v5 2/4] target-ppc: Implement bcdctn. instruction, Jose Ricardo Ziviani, 2016/11/08
- [Qemu-devel] [PATCH v5 3/4] target-ppc: Implement bcdcfz. instruction, Jose Ricardo Ziviani, 2016/11/08
- [Qemu-devel] [PATCH v5 4/4] target-ppc: Implement bcdctz. instruction, Jose Ricardo Ziviani, 2016/11/08
- [Qemu-devel] [PATCH v5 1/4] target-ppc: Implement bcdcfn. instruction, Jose Ricardo Ziviani, 2016/11/08
- Re: [Qemu-devel] [PATCH v5 0/4] POWER9 TCG enablements - BCD functions part I, David Gibson, 2016/11/08