From: David Gibson <david@gibson.dropbear.id.au>
To: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Cc: qemu-ppc@nongnu.org, rth@twiddle.net, qemu-devel@nongnu.org,
bharata@linux.vnet.ibm.com, aneesh.kumar@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH v4 00/15] POWER9 TCG enablements - part1
Date: Wed, 27 Jul 2016 16:23:07 +1000 [thread overview]
Message-ID: <20160727062307.GO17429@voom.fritz.box> (raw)
In-Reply-To: <1469534318-5549-1-git-send-email-nikunj@linux.vnet.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 3593 bytes --]
On Tue, Jul 26, 2016 at 05:28:23PM +0530, Nikunj A Dadhania wrote:
> This set starts adding new instructions for POWER9 described in ISA3.0.
>
> Patches:
> 01-02: First two patches adds the required POWER9 cpu model and ISA defines.
> 03-14: Adds following instructions:
> addpcis : Add PC Immediate Shifted
> cmprb : Compare Ranged Byte
> moduw : Modulo Unsigned Word
> modsw : Modulo Signed Word
> modud : Modulo Unsigned Dword
> modsd : Modulo Signed Dword
> cnttzd[.] : Count Trailing Zero Dword
> cnttzw[.] : Count Trailing Zero Word
> cmpeqb : Compare Equal Byte
> setb : Set Boolean
> maddld : Multiply-Add Low Dword
> maddhd : Multiply-Add High Dword
> maddhdu : Multiply-Add High Dword Unsigned
> Changes following instructions:
> divd[u][o][.]: Divide Doubleword Signed/Unsigned
> divw[u][o][.]: Divide Word Signed/Unsigned
> 15: Adds support for the new Expanded Opcode (EO) added in
> ISA3.0
I've applied these to ppc-for-2.8, except for the div rework which I
have a comment on, and for which I'm hoping for an R-b from rth. I
did make a small tweak to 1/15.
>
> Changelog:
> v3:
> * Accumulate summary overflow in place of over-writing in div[w,d] operations
>
> v2:
> * Implement branchless modulo instruction
> * Change divd and divw to branchless implementation similar to modulo
> instructions
> * Drop MMU_3_00 defines from the POWER9 define until radix support is
> added.
>
> v1:
> * addpcis - shift the immediate before adding
> * cmprb logic without branches
> * mod[su][wd]: use helpers
> * cmpeqb - use bit magics in the helpers
> * setb - bug fix and branchless
> * maddld - discard multiple dword calculation as we need only lower 64-bit
> * Expanded opcode - drop pad from 32-bit and free the third level indirect
> table in unrealize
>
> Aneesh Kumar K.V (1):
> target-ppc: Introduce Power9 family
>
> Nikunj A Dadhania (12):
> target-ppc: Introduce POWER ISA 3.0 flag
> target-ppc: adding addpcis instruction
> target-ppc: add cmprb instruction
> target-ppc: add modulo word operations
> target-ppc: add modulo dword operations
> target-ppc: implement branch-less divw[o][.]
> target-ppc: implement branch-less divd[o][.]
> target-ppc: add cnttzw[.] instruction
> target-ppc: add cmpeqb instruction
> target-ppc: add maddld instruction
> target-ppc: add maddhd and maddhdu instruction
> target-ppc: introduce opc4 for Expanded Opcode
>
> Sandipan Das (1):
> target-ppc: add cnttzd[.] instruction
>
> Vivek Andrew Sha (1):
> target-ppc: add setb instruction
>
> hw/ppc/spapr_cpu_core.c | 5 +
> target-ppc/cpu-models.c | 5 +
> target-ppc/cpu-models.h | 1 +
> target-ppc/cpu-qom.h | 1 +
> target-ppc/cpu.h | 5 +-
> target-ppc/helper.h | 3 +
> target-ppc/int_helper.c | 32 ++++
> target-ppc/mmu_helper.c | 2 +-
> target-ppc/translate.c | 432 +++++++++++++++++++++++++++++++++++++-------
> target-ppc/translate_init.c | 212 ++++++++++++++++++----
> 10 files changed, 594 insertions(+), 104 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2016-07-27 6:27 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1469534318-5549-1-git-send-email-nikunj@linux.vnet.ibm.com>
2016-07-26 11:58 ` [Qemu-devel] [PATCH v4 01/15] target-ppc: Introduce Power9 family Nikunj A Dadhania
2016-07-27 6:17 ` David Gibson
2016-07-26 11:58 ` [Qemu-devel] [PATCH v4 02/15] target-ppc: Introduce POWER ISA 3.0 flag Nikunj A Dadhania
2016-07-26 11:58 ` [Qemu-devel] [PATCH v4 03/15] target-ppc: adding addpcis instruction Nikunj A Dadhania
2016-07-26 11:58 ` [Qemu-devel] [PATCH v4 04/15] target-ppc: add cmprb instruction Nikunj A Dadhania
2016-07-26 11:58 ` [Qemu-devel] [PATCH v4 05/15] target-ppc: add modulo word operations Nikunj A Dadhania
2016-07-26 11:58 ` [Qemu-devel] [PATCH v4 06/15] target-ppc: add modulo dword operations Nikunj A Dadhania
2016-07-26 11:58 ` [Qemu-devel] [PATCH v4 07/15] target-ppc: implement branch-less divw[o][.] Nikunj A Dadhania
2016-07-27 5:19 ` David Gibson
2016-07-27 6:17 ` Nikunj A Dadhania
2016-07-27 6:29 ` David Gibson
2016-07-27 6:41 ` Nikunj A Dadhania
2016-07-27 6:56 ` David Gibson
2016-07-26 11:58 ` [Qemu-devel] [PATCH v4 08/15] target-ppc: implement branch-less divd[o][.] Nikunj A Dadhania
2016-07-26 11:58 ` [Qemu-devel] [PATCH v4 09/15] target-ppc: add cnttzd[.] instruction Nikunj A Dadhania
2016-07-26 11:58 ` [Qemu-devel] [PATCH v4 10/15] target-ppc: add cnttzw[.] instruction Nikunj A Dadhania
2016-07-26 11:58 ` [Qemu-devel] [PATCH v4 11/15] target-ppc: add cmpeqb instruction Nikunj A Dadhania
2016-07-26 11:58 ` [Qemu-devel] [PATCH v4 12/15] target-ppc: add setb instruction Nikunj A Dadhania
2016-07-26 11:58 ` [Qemu-devel] [PATCH v4 13/15] target-ppc: add maddld instruction Nikunj A Dadhania
2016-07-26 11:58 ` [Qemu-devel] [PATCH v4 14/15] target-ppc: add maddhd and maddhdu instruction Nikunj A Dadhania
2016-07-26 11:58 ` [Qemu-devel] [PATCH v4 15/15] target-ppc: introduce opc4 for Expanded Opcode Nikunj A Dadhania
2016-07-27 5:31 ` David Gibson
2016-07-27 6:23 ` 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=20160727062307.GO17429@voom.fritz.box \
--to=david@gibson.dropbear.id.au \
--cc=aneesh.kumar@linux.vnet.ibm.com \
--cc=bharata@linux.vnet.ibm.com \
--cc=nikunj@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=rth@twiddle.net \
/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).