qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Make ioport.c target-independent
@ 2023-05-17  7:42 Thomas Huth
  2023-05-17  7:42 ` [PATCH 1/2] include/exec: Make ld*_p and st*_p functions available for generic code, too Thomas Huth
  2023-05-17  7:42 ` [PATCH 2/2] softmmu: Move ioport.c into the target-independent source set Thomas Huth
  0 siblings, 2 replies; 7+ messages in thread
From: Thomas Huth @ 2023-05-17  7:42 UTC (permalink / raw)
  To: qemu-devel, David Hildenbrand, Peter Xu
  Cc: Philippe Mathieu-Daudé, Paolo Bonzini, Richard Henderson,
	Mark Burton

Assuming that the code in ioport.c is not too performance critical,
we can move this to the target-independent source set after
reworking the ld*_p and st*_p helper functions a little bit.

This way, ioport.c has only to be compiled once and not multiple
times anymore (one time for each target), so this should help
to speed up the compilation process a little bit, and is a good
preparation for the single emulator binary project.

Thomas Huth (2):
  include/exec: Make ld*_p and st*_p functions available for generic
    code, too
  softmmu: Move ioport.c into the target-independent source set

 include/exec/cpu-all.h | 25 ----------------
 include/exec/tswap.h   | 66 ++++++++++++++++++++++++++++++++++++++++++
 softmmu/ioport.c       |  2 +-
 softmmu/meson.build    |  2 +-
 4 files changed, 68 insertions(+), 27 deletions(-)

-- 
2.31.1



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

end of thread, other threads:[~2023-05-17 13:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-17  7:42 [PATCH 0/2] Make ioport.c target-independent Thomas Huth
2023-05-17  7:42 ` [PATCH 1/2] include/exec: Make ld*_p and st*_p functions available for generic code, too Thomas Huth
2023-05-17 10:18   ` Philippe Mathieu-Daudé
2023-05-17 10:38     ` Thomas Huth
2023-05-17 13:20   ` Richard Henderson
2023-05-17  7:42 ` [PATCH 2/2] softmmu: Move ioport.c into the target-independent source set Thomas Huth
2023-05-17 13:23   ` 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).