qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] Remove some of the old libopcode based disassemblers
@ 2022-04-12 16:58 Thomas Huth
  2022-04-12 16:58 ` [RFC PATCH 1/3] disas: Remove old libopcode s390 disassembler Thomas Huth
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Thomas Huth @ 2022-04-12 16:58 UTC (permalink / raw)
  To: qemu-devel, Richard Henderson
  Cc: Peter Maydell, David Hildenbrand, qemu-s390x, qemu-arm,
	Paolo Bonzini, Christian Borntraeger

Many of the disassemblers in the disas folder are based on old
versions from the GNU tools (libopcode, GDB, ...) that were still
licensed under the GPL v2. The GNU tools switched to GPL v3 at one
point in time, so QEMU is stuck with the old versions, i.e. these
files did not see much updates for new processors anymore. But
for most architectures, we're preferring the Capstone disassembler
now anyway, so the old libopcode disassemblers are also hardly
used anymore.

I'm not 100% sure (thus this is marked as RFC), but I think we could
simply drop the old disassemblers nowadays, and hardly anybody would
miss them, since we now always embed capstone as a submodule anyway.
Or is there still an advantage in keeping these old files around?

This RFC series tackles with s390, arm (32-bit) and i386 ... I wanted
to get some feedback first, but if we agree that these can be removed,
the sparc, mips and ppc disassemblers likely can be removed, too.
(I think we should keep m68k.c since Capstone does not have support
for Coldfire CPUs yet).

Thomas Huth (3):
  disas: Remove old libopcode s390 disassembler
  disas: Remove old libopcode arm disassembler
  disas: Remove old libopcode i386 disassembler

 include/disas/dis-asm.h |    3 -
 disas.c                 |    3 -
 disas/arm.c             | 4012 -----------------------
 disas/i386.c            | 6771 ---------------------------------------
 disas/s390.c            | 1892 -----------
 target/arm/cpu.c        |    8 -
 target/i386/cpu.c       |    1 -
 target/s390x/cpu.c      |    1 -
 MAINTAINERS             |    6 -
 disas/meson.build       |    3 -
 10 files changed, 12700 deletions(-)
 delete mode 100644 disas/arm.c
 delete mode 100644 disas/i386.c
 delete mode 100644 disas/s390.c

-- 
2.27.0



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

end of thread, other threads:[~2022-05-17 16:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-12 16:58 [RFC PATCH 0/3] Remove some of the old libopcode based disassemblers Thomas Huth
2022-04-12 16:58 ` [RFC PATCH 1/3] disas: Remove old libopcode s390 disassembler Thomas Huth
2022-04-12 16:58 ` [RFC PATCH 2/3] disas: Remove old libopcode arm disassembler Thomas Huth
2022-04-12 16:58 ` [RFC PATCH 3/3] disas: Remove old libopcode i386 disassembler Thomas Huth
2022-04-21 18:35 ` [RFC PATCH 0/3] Remove some of the old libopcode based disassemblers Richard Henderson
2022-05-09 12:20 ` Philippe Mathieu-Daudé via
2022-05-09 13:18   ` Thomas Huth
2022-05-09 13:42     ` Philippe Mathieu-Daudé via
2022-05-17  7:18       ` Capstone for MIPS (was: Re: [RFC PATCH 0/3] Remove some of the old libopcode based disassemblers) Thomas Huth
2022-05-17 16:15         ` Richard Henderson

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