qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] Remove CONFIG_INT128 conditional code from target/ppc/*
@ 2022-06-06 15:00 Matheus Ferst
  2022-06-06 15:00 ` [PATCH 1/7] target/ppc: use int128.h methods in vpmsumd Matheus Ferst
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Matheus Ferst @ 2022-06-06 15:00 UTC (permalink / raw)
  To: qemu-devel, qemu-ppc
  Cc: clg, danielhb413, david, groug, richard.henderson, Matheus Ferst

PPC-specific methods to handle 128-bits integers operations, like
avr_qw_not and avr_qw_add, are currently only tested indirectly (through
the behavior of the insns that use them) in !CONFIG_INT128 builds. They
can be replaced by the methods provided by int128.h, which are shared
with other archs and have unit tests.

We also take the opportunity to move some instructions to decodetree and
drop unnecessary uses of VECTOR_FOR_INORDER_I.

Based-on: <20220525134954.85056-1-lucas.araujo@eldorado.org.br>
because int128_ult, implemented in 'host-utils: Implemented unsigned
256-by-128 division'

Matheus Ferst (7):
  target/ppc: use int128.h methods in vpmsumd
  target/ppc: use int128.h methods in vadduqm
  target/ppc: use int128.h methods in vaddecuq and vaddeuqm
  target/ppc: use int128.h methods in vaddcuq
  target/ppc: use int128.h methods in vsubuqm
  target/ppc: use int128.h methods in vsubecuq and vsubeuqm
  target/ppc: use int128.h methods in vsubcuq

 target/ppc/helper.h                 |  18 +-
 target/ppc/insn32.decode            |  16 ++
 target/ppc/int_helper.c             | 255 ++++++----------------------
 target/ppc/translate/vmx-impl.c.inc |  32 ++--
 target/ppc/translate/vmx-ops.c.inc  |   9 +-
 5 files changed, 93 insertions(+), 237 deletions(-)

-- 
2.25.1



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

end of thread, other threads:[~2022-06-27 21:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-06 15:00 [PATCH 0/7] Remove CONFIG_INT128 conditional code from target/ppc/* Matheus Ferst
2022-06-06 15:00 ` [PATCH 1/7] target/ppc: use int128.h methods in vpmsumd Matheus Ferst
2022-06-27 16:23   ` Víctor Colombo
2022-06-06 15:00 ` [PATCH 2/7] target/ppc: use int128.h methods in vadduqm Matheus Ferst
2022-06-27 16:24   ` Víctor Colombo
2022-06-06 15:00 ` [PATCH 3/7] target/ppc: use int128.h methods in vaddecuq and vaddeuqm Matheus Ferst
2022-06-27 16:25   ` Víctor Colombo
2022-06-06 15:00 ` [PATCH 4/7] target/ppc: use int128.h methods in vaddcuq Matheus Ferst
2022-06-27 16:25   ` Víctor Colombo
2022-06-06 15:00 ` [PATCH 5/7] target/ppc: use int128.h methods in vsubuqm Matheus Ferst
2022-06-27 16:26   ` Víctor Colombo
2022-06-06 15:00 ` [PATCH 6/7] target/ppc: use int128.h methods in vsubecuq and vsubeuqm Matheus Ferst
2022-06-27 16:26   ` Víctor Colombo
2022-06-06 15:00 ` [PATCH 7/7] target/ppc: use int128.h methods in vsubcuq Matheus Ferst
2022-06-27 16:26   ` Víctor Colombo
2022-06-27 21:41 ` [PATCH 0/7] Remove CONFIG_INT128 conditional code from target/ppc/* Daniel Henrique Barboza

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