All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Henrique Barboza <danielhb413@gmail.com>
To: matheus.ferst@eldorado.org.br, qemu-devel@nongnu.org,
	qemu-ppc@nongnu.org
Cc: clg@kaod.org, david@gibson.dropbear.id.au, groug@kaod.org,
	richard.henderson@linaro.org
Subject: Re: [PATCH v2 00/12] Change helper declarations to use call flags
Date: Mon, 23 May 2022 16:24:59 -0300	[thread overview]
Message-ID: <d2b9c0a7-bd68-8860-8214-691c19532f05@gmail.com> (raw)
In-Reply-To: <20220519201822.465229-1-matheus.ferst@eldorado.org.br>

Queued in gitlab.com/danielhb/qemu/tree/ppc-next. Thanks,


Daniel

On 5/19/22 17:18, matheus.ferst@eldorado.org.br wrote:
> From: Matheus Ferst <matheus.ferst@eldorado.org.br>
> 
> In our "PowerISA Vector/VSX instruction batch" patch series, rth noted[1]
> that helpers that only access vector registers should be declared with
> DEF_HELPER_FLAGS_* and TCG_CALL_NO_RWG. We fixed helpers in that series,
> but there are older helpers that could use the same optimization.
> 
> Guided by the presence of env as the first argument, in patches 1~4 we
> change helpers that do not have access to the cpu_env pointer to modify
> any globals. Then, we change other helpers that receive cpu_env but do
> not use it and apply the same fix, taking the opportunity to move them
> to decodetree.
> 
> [1] https://lists.gnu.org/archive/html/qemu-ppc/2022-02/msg00568.html
> 
> Patches without review: 06.
> 
> v2:
>   - darn32/darn64 helpers declared with TCG_CALL_NO_RWG_SE;
>   - xscvspdpn implemented with helper_todouble, dropped helper_XSCVSPDPN;
>   - vmsumuhs and vmsumshs helpers declared with TCG_CALL_NO_RWG;
>   - Link to v1: https://lists.gnu.org/archive/html/qemu-ppc/2022-05/msg00287.html
> 
> Matheus Ferst (12):
>    target/ppc: declare darn32/darn64 helpers with TCG_CALL_NO_RWG_SE
>    target/ppc: use TCG_CALL_NO_RWG in vector helpers without env
>    target/ppc: use TCG_CALL_NO_RWG in BCD helpers
>    target/ppc: use TCG_CALL_NO_RWG in VSX helpers without env
>    target/ppc: Use TCG_CALL_NO_RWG_SE in fsel helper
>    target/ppc: implement xscvspdpn with helper_todouble
>    target/ppc: declare xvxsigsp helper with call flags
>    target/ppc: declare xxextractuw and xxinsertw helpers with call flags
>    target/ppc: introduce do_va_helper
>    target/ppc: declare vmsum[um]bm helpers with call flags
>    target/ppc: declare vmsumuh[ms] helper with call flags
>    target/ppc: declare vmsumsh[ms] helper with call flags
> 
>   target/ppc/fpu_helper.c             |  22 +--
>   target/ppc/helper.h                 | 225 ++++++++++++++--------------
>   target/ppc/insn32.decode            |  28 +++-
>   target/ppc/int_helper.c             |  22 +--
>   target/ppc/translate/fp-impl.c.inc  |  30 +++-
>   target/ppc/translate/fp-ops.c.inc   |   1 -
>   target/ppc/translate/vmx-impl.c.inc |  62 ++++----
>   target/ppc/translate/vmx-ops.c.inc  |   4 -
>   target/ppc/translate/vsx-impl.c.inc | 107 ++++++++-----
>   target/ppc/translate/vsx-ops.c.inc  |   4 -
>   10 files changed, 284 insertions(+), 221 deletions(-)
> 


      parent reply	other threads:[~2022-05-23 19:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-19 20:18 [PATCH v2 00/12] Change helper declarations to use call flags matheus.ferst
2022-05-19 20:18 ` [PATCH v2 01/12] target/ppc: declare darn32/darn64 helpers with TCG_CALL_NO_RWG_SE matheus.ferst
2022-05-19 20:18 ` [PATCH v2 02/12] target/ppc: use TCG_CALL_NO_RWG in vector helpers without env matheus.ferst
2022-05-19 20:18 ` [PATCH v2 03/12] target/ppc: use TCG_CALL_NO_RWG in BCD helpers matheus.ferst
2022-05-19 20:18 ` [PATCH v2 04/12] target/ppc: use TCG_CALL_NO_RWG in VSX helpers without env matheus.ferst
2022-05-19 20:18 ` [PATCH v2 05/12] target/ppc: Use TCG_CALL_NO_RWG_SE in fsel helper matheus.ferst
2022-05-19 20:18 ` [PATCH v2 06/12] target/ppc: implement xscvspdpn with helper_todouble matheus.ferst
2022-05-20 15:28   ` Richard Henderson
2022-05-23 13:48   ` Daniel Henrique Barboza
2022-05-23 15:54     ` Richard Henderson
2022-05-23 23:02       ` Daniel Henrique Barboza
2022-05-19 20:18 ` [PATCH v2 07/12] target/ppc: declare xvxsigsp helper with call flags matheus.ferst
2022-05-19 20:18 ` [PATCH v2 08/12] target/ppc: declare xxextractuw and xxinsertw helpers " matheus.ferst
2022-05-19 20:18 ` [PATCH v2 09/12] target/ppc: introduce do_va_helper matheus.ferst
2022-05-19 20:18 ` [PATCH v2 10/12] target/ppc: declare vmsum[um]bm helpers with call flags matheus.ferst
2022-05-19 20:18 ` [PATCH v2 11/12] target/ppc: declare vmsumuh[ms] helper " matheus.ferst
2022-05-19 20:18 ` [PATCH v2 12/12] target/ppc: declare vmsumsh[ms] " matheus.ferst
2022-05-23 19:24 ` Daniel Henrique Barboza [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=d2b9c0a7-bd68-8860-8214-691c19532f05@gmail.com \
    --to=danielhb413@gmail.com \
    --cc=clg@kaod.org \
    --cc=david@gibson.dropbear.id.au \
    --cc=groug@kaod.org \
    --cc=matheus.ferst@eldorado.org.br \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=richard.henderson@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.