qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] target/mips: Convert Loongson LEXT opcodes to decodetree
@ 2023-08-31 20:30 Philippe Mathieu-Daudé
  2023-08-31 20:30 ` [PATCH v2 1/7] target/mips: Simplify Loongson MULTU.G opcode Philippe Mathieu-Daudé
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-08-31 20:30 UTC (permalink / raw)
  To: qemu-devel
  Cc: Philippe Mathieu-Daudé, Jiaxun Yang, Aurelien Jarno,
	Aleksandar Rikalo

Respin of old series...

Since v1 [*]:
- Fixed '!is_double' check (rth)
- Rebased (removing tcg_temp_free calls)
- Simplified MULT[U].G (rth)
- Added R-b

Cover from v1:

  Loongson is next step in the "MIPS decodetree conversion" epic.
  Start with the simplest extension.

  The diffstat addition comes from the TCG functions expanded.
  The code is easier to review now.
  IMO this is also a good template to show how easy a decodetree
  conversion can be (and how nice the .decode file is to review) :P

Please review,

Phil.

Based-on: <20230831201140.85799-1-philmd@linaro.org>
          "target/mips: Simplify Loongson MULTU.G opcode"

[*] https://lore.kernel.org/qemu-devel/20210112215504.2093955-1-f4bug@amsat.org/

Philippe Mathieu-Daudé (7):
  target/mips: Simplify Loongson MULTU.G opcode
  target/mips: Re-introduce OPC_ADDUH_QB_DSP and OPC_MUL_PH_DSP
  target/mips: Convert Loongson DDIV.G opcodes to decodetree
  target/mips: Convert Loongson DIV.G opcodes to decodetree
  target/mips: Convert Loongson [D]DIVU.G opcodes to decodetree
  target/mips: Convert Loongson [D]MOD[U].G opcodes to decodetree
  target/mips: Convert Loongson [D]MULT[U].G opcodes to decodetree

 target/mips/tcg/translate.h       |   1 +
 target/mips/tcg/godson2.decode    |  27 +++
 target/mips/tcg/loong-ext.decode  |  28 +++
 target/mips/tcg/loong_translate.c | 307 ++++++++++++++++++++++++++++++
 target/mips/tcg/translate.c       | 264 +------------------------
 target/mips/tcg/meson.build       |   3 +
 6 files changed, 376 insertions(+), 254 deletions(-)
 create mode 100644 target/mips/tcg/godson2.decode
 create mode 100644 target/mips/tcg/loong-ext.decode
 create mode 100644 target/mips/tcg/loong_translate.c

-- 
2.41.0



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

end of thread, other threads:[~2024-10-26 15:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-31 20:30 [PATCH v2 0/7] target/mips: Convert Loongson LEXT opcodes to decodetree Philippe Mathieu-Daudé
2023-08-31 20:30 ` [PATCH v2 1/7] target/mips: Simplify Loongson MULTU.G opcode Philippe Mathieu-Daudé
2023-08-31 23:53   ` Richard Henderson
2023-08-31 20:30 ` [PATCH v2 2/7] target/mips: Re-introduce OPC_ADDUH_QB_DSP and OPC_MUL_PH_DSP Philippe Mathieu-Daudé
2023-08-31 20:30 ` [PATCH v2 3/7] target/mips: Convert Loongson DDIV.G opcodes to decodetree Philippe Mathieu-Daudé
2023-08-31 20:30 ` [PATCH v2 4/7] target/mips: Convert Loongson DIV.G " Philippe Mathieu-Daudé
2023-08-31 20:30 ` [PATCH v2 5/7] target/mips: Convert Loongson [D]DIVU.G " Philippe Mathieu-Daudé
2023-08-31 20:30 ` [PATCH v2 6/7] target/mips: Convert Loongson [D]MOD[U].G " Philippe Mathieu-Daudé
2023-08-31 20:30 ` [PATCH v2 7/7] target/mips: Convert Loongson [D]MULT[U].G " Philippe Mathieu-Daudé
2023-09-01  0:29   ` Richard Henderson
2024-10-26 15:30     ` Philippe Mathieu-Daudé

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).