All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] target/mips: Simplify MSA TCG logic
@ 2020-12-02 18:44 ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 54+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-12-02 18:44 UTC (permalink / raw)
  To: qemu-devel
  Cc: Jiaxun Yang, Huacai Chen, Richard Henderson, kvm,
	Aleksandar Rikalo, Paolo Bonzini, Aurelien Jarno,
	Philippe Mathieu-Daudé

I converted MSA opcodes to decodetree. To keep the series
small I split it in 2, this is the non-decodetree specific
patches (so non-decodetree experts can review it ;) ).

First we stop using env->insn_flags to check for MSAi
presence, then we restrict TCG functions to DisasContext*.

Based-on: <20201130102228.2395100-1-f4bug@amsat.org>
"target/mips: Allow executing MSA instructions on Loongson-3A4000"

Philippe Mathieu-Daudé (9):
  target/mips: Introduce ase_msa_available() helper
  target/mips: Simplify msa_reset()
  target/mips: Use CP0_Config3 to set MIPS_HFLAG_MSA
  target/mips: Simplify MSA TCG logic
  target/mips: Remove now unused ASE_MSA definition
  target/mips: Alias MSA vector registers on FPU scalar registers
  target/mips: Extract msa_translate_init() from mips_tcg_init()
  target/mips: Remove CPUMIPSState* argument from gen_msa*() methods
  target/mips: Explode gen_msa_branch() as gen_msa_BxZ_V/BxZ()

 target/mips/internal.h           |   8 +-
 target/mips/mips-defs.h          |   1 -
 target/mips/kvm.c                |  12 +-
 target/mips/translate.c          | 206 ++++++++++++++++++-------------
 target/mips/translate_init.c.inc |  12 +-
 5 files changed, 138 insertions(+), 101 deletions(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 54+ messages in thread

end of thread, other threads:[~2020-12-05 18:24 UTC | newest]

Thread overview: 54+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-02 18:44 [PATCH 0/9] target/mips: Simplify MSA TCG logic Philippe Mathieu-Daudé
2020-12-02 18:44 ` Philippe Mathieu-Daudé
2020-12-02 18:44 ` [PATCH 1/9] target/mips: Introduce ase_msa_available() helper Philippe Mathieu-Daudé
2020-12-02 18:44   ` Philippe Mathieu-Daudé
2020-12-03 17:08   ` Richard Henderson
2020-12-03 17:08     ` Richard Henderson
2020-12-02 18:44 ` [PATCH 2/9] target/mips: Simplify msa_reset() Philippe Mathieu-Daudé
2020-12-02 18:44   ` Philippe Mathieu-Daudé
2020-12-03 17:10   ` Richard Henderson
2020-12-03 17:10     ` Richard Henderson
2020-12-02 18:44 ` [PATCH 3/9] target/mips: Use CP0_Config3 to set MIPS_HFLAG_MSA Philippe Mathieu-Daudé
2020-12-02 18:44   ` Philippe Mathieu-Daudé
2020-12-03 17:10   ` Richard Henderson
2020-12-03 17:10     ` Richard Henderson
2020-12-02 18:44 ` [PATCH 4/9] target/mips: Simplify MSA TCG logic Philippe Mathieu-Daudé
2020-12-02 18:44   ` Philippe Mathieu-Daudé
2020-12-03 17:14   ` Richard Henderson
2020-12-03 17:14     ` Richard Henderson
2020-12-02 18:44 ` [PATCH 5/9] target/mips: Remove now unused ASE_MSA definition Philippe Mathieu-Daudé
2020-12-02 18:44   ` Philippe Mathieu-Daudé
2020-12-03 17:15   ` Richard Henderson
2020-12-03 17:15     ` Richard Henderson
2020-12-02 18:44 ` [PATCH 6/9] target/mips: Alias MSA vector registers on FPU scalar registers Philippe Mathieu-Daudé
2020-12-02 18:44   ` Philippe Mathieu-Daudé
2020-12-04 16:28   ` Richard Henderson
2020-12-04 16:28     ` Richard Henderson
2020-12-04 22:40     ` Philippe Mathieu-Daudé
2020-12-04 22:40       ` Philippe Mathieu-Daudé
2020-12-05 12:44       ` Richard Henderson
2020-12-05 12:44         ` Richard Henderson
2020-12-02 18:44 ` [PATCH 7/9] target/mips: Extract msa_translate_init() from mips_tcg_init() Philippe Mathieu-Daudé
2020-12-02 18:44   ` Philippe Mathieu-Daudé
2020-12-04 16:30   ` Richard Henderson
2020-12-04 16:30     ` Richard Henderson
2020-12-04 17:23     ` Philippe Mathieu-Daudé
2020-12-04 17:23       ` Philippe Mathieu-Daudé
2020-12-04 18:15       ` Richard Henderson
2020-12-04 18:15         ` Richard Henderson
2020-12-02 18:44 ` [PATCH 8/9] target/mips: Remove CPUMIPSState* argument from gen_msa*() methods Philippe Mathieu-Daudé
2020-12-02 18:44   ` Philippe Mathieu-Daudé
2020-12-04 16:31   ` Richard Henderson
2020-12-04 16:31     ` Richard Henderson
2020-12-02 18:44 ` [PATCH 9/9] target/mips: Explode gen_msa_branch() as gen_msa_BxZ_V/BxZ() Philippe Mathieu-Daudé
2020-12-02 18:44   ` Philippe Mathieu-Daudé
2020-12-04 17:04   ` Richard Henderson
2020-12-04 17:04     ` Richard Henderson
2020-12-04 22:53     ` Philippe Mathieu-Daudé
2020-12-04 22:53       ` Philippe Mathieu-Daudé
2020-12-05 12:46       ` Richard Henderson
2020-12-05 12:46         ` Richard Henderson
2020-12-03  3:36 ` [PATCH 0/9] target/mips: Simplify MSA TCG logic Jiaxun Yang
2020-12-03  3:36   ` Jiaxun Yang
2020-12-03  3:38 ` Jiaxun Yang
2020-12-03  3:38   ` Jiaxun Yang

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.