From: David Gibson <david@gibson.dropbear.id.au>
To: Jose Ricardo Ziviani <joserz@linux.vnet.ibm.com>
Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org,
nikunj@linux.vnet.ibm.com, bharata@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH v3 0/4] POWER9 TCG enablements - BCD functions part II
Date: Fri, 25 Nov 2016 15:52:53 +1100 [thread overview]
Message-ID: <20161125045253.GG12287@umbus.fritz.box> (raw)
In-Reply-To: <1480046013-24788-1-git-send-email-joserz@linux.vnet.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 1476 bytes --]
On Fri, Nov 25, 2016 at 01:53:29AM -0200, Jose Ricardo Ziviani wrote:
> v3:
> - use decimal numbers instead of hex when appropriate
> - set condition register flag to the new form
> - fix bcdcfsq loops boundaries
>
> v2:
> - use div128 and mul64 functions to make code easier to understand
> - fixed int128 neg
> - improved functions bcdcpsgn and bcdsetsgn to do less work
> than necessary
> - rebased on ppc-for-2.9
>
> This serie contains 4 new instructions for POWER9 ISA3.0
Applied to ppc-for-2.9.
>
> bcdcfsq.: Convert signed quadword to packed BCD
> bcdctsq.: Convert packed BCD to signed quadword
> bcdcpsgn.: Copy the sign of a register to another
> bcdsetsgn.: Set the BCD sign according to a preferred sign
>
> Jose Ricardo Ziviani (4):
> target-ppc: Implement bcdcfsq. instruction
> target-ppc: Implement bcdctsq. instruction
> target-ppc: Implement bcdcpsgn. instruction
> target-ppc: Implement bcdsetsgn. instruction
>
> target-ppc/helper.h | 4 ++
> target-ppc/int_helper.c | 120 ++++++++++++++++++++++++++++++++++++
> target-ppc/translate/vmx-impl.inc.c | 25 ++++++++
> target-ppc/translate/vmx-ops.inc.c | 2 +-
> 4 files changed, 150 insertions(+), 1 deletion(-)
>
--
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2016-11-25 4:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-25 3:53 [Qemu-devel] [PATCH v3 0/4] POWER9 TCG enablements - BCD functions part II Jose Ricardo Ziviani
2016-11-25 3:53 ` [Qemu-devel] [PATCH v3 1/4] target-ppc: Implement bcdcfsq. instruction Jose Ricardo Ziviani
2016-11-25 4:52 ` David Gibson
2016-11-25 3:53 ` [Qemu-devel] [PATCH v3 2/4] target-ppc: Implement bcdctsq. instruction Jose Ricardo Ziviani
2016-11-25 3:53 ` [Qemu-devel] [PATCH v3 3/4] target-ppc: Implement bcdcpsgn. instruction Jose Ricardo Ziviani
2016-11-25 3:53 ` [Qemu-devel] [PATCH v3 4/4] target-ppc: Implement bcdsetsgn. instruction Jose Ricardo Ziviani
2016-11-25 4:52 ` David Gibson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161125045253.GG12287@umbus.fritz.box \
--to=david@gibson.dropbear.id.au \
--cc=bharata@linux.vnet.ibm.com \
--cc=joserz@linux.vnet.ibm.com \
--cc=nikunj@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).