qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] Host-specific includes, begin cpuinfo.h
@ 2023-05-18  4:40 Richard Henderson
  2023-05-18  4:40 ` [PATCH 1/9] util: Introduce host-specific cpuinfo.h Richard Henderson
                   ` (8 more replies)
  0 siblings, 9 replies; 21+ messages in thread
From: Richard Henderson @ 2023-05-18  4:40 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell

Hiya.

This is looking toward cleaning up a couple of things:

(1) There are 5 bits of x86 host detection, 3 of them for xbzrle.
    Unify this down to one, with additional cleanups for xbzrle.

(2) Provides a host-specific include path for splitting atomic128.h
    and probably other stuff so as to avoid host-specific ifdefs.
    Actually splitting atomic128.h is so far left for further work.


r~


Richard Henderson (9):
  util: Introduce host-specific cpuinfo.h
  util: Add cpuinfo-i386.c
  util: Add i386 CPUINFO_ATOMIC_VMOVDQU
  tcg/i386: Use cpuinfo.h
  util/bufferiszero: Use i386 cpuinfo.h
  migration/xbzrle: Shuffle function order
  migration/xbzrle: Use i386 cacheinfo.h
  migration: Build migration_files once
  util: Add cpuinfo-aarch64.c

 include/host/aarch64/cpuinfo.h |  22 ++
 include/host/generic/cpuinfo.h |   4 +
 include/host/i386/cpuinfo.h    |  39 +++
 include/host/x86_64/cpuinfo.h  |   1 +
 migration/xbzrle.h             |   5 +-
 tcg/aarch64/tcg-target.h       |   4 +-
 tcg/i386/tcg-target.h          |  28 +-
 migration/ram.c                |  34 +--
 migration/xbzrle.c             | 268 ++++++++++---------
 tests/bench/xbzrle-bench.c     | 469 ---------------------------------
 tests/unit/test-xbzrle.c       |  49 +---
 util/bufferiszero.c            | 126 ++++-----
 util/cpuinfo-aarch64.c         |  67 +++++
 util/cpuinfo-i386.c            |  99 +++++++
 meson.build                    |   8 +
 migration/meson.build          |   1 -
 tcg/aarch64/tcg-target.c.inc   |  41 +--
 tcg/i386/tcg-target.c.inc      | 123 +--------
 tests/bench/meson.build        |   6 -
 util/meson.build               |   6 +
 20 files changed, 476 insertions(+), 924 deletions(-)
 create mode 100644 include/host/aarch64/cpuinfo.h
 create mode 100644 include/host/generic/cpuinfo.h
 create mode 100644 include/host/i386/cpuinfo.h
 create mode 100644 include/host/x86_64/cpuinfo.h
 delete mode 100644 tests/bench/xbzrle-bench.c
 create mode 100644 util/cpuinfo-aarch64.c
 create mode 100644 util/cpuinfo-i386.c

-- 
2.34.1



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

end of thread, other threads:[~2023-05-18 15:56 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-18  4:40 [PATCH 0/9] Host-specific includes, begin cpuinfo.h Richard Henderson
2023-05-18  4:40 ` [PATCH 1/9] util: Introduce host-specific cpuinfo.h Richard Henderson
2023-05-18  9:30   ` Juan Quintela
2023-05-18  4:40 ` [PATCH 2/9] util: Add cpuinfo-i386.c Richard Henderson
2023-05-18  9:35   ` Juan Quintela
2023-05-18 12:45     ` Richard Henderson
2023-05-18  4:40 ` [PATCH 3/9] util: Add i386 CPUINFO_ATOMIC_VMOVDQU Richard Henderson
2023-05-18 15:52   ` Peter Maydell
2023-05-18  4:40 ` [PATCH 4/9] tcg/i386: Use cpuinfo.h Richard Henderson
2023-05-18 15:53   ` Peter Maydell
2023-05-18  4:40 ` [PATCH 5/9] util/bufferiszero: Use i386 cpuinfo.h Richard Henderson
2023-05-18  9:49   ` Juan Quintela
2023-05-18 12:48     ` Richard Henderson
2023-05-18  4:40 ` [PATCH 6/9] migration/xbzrle: Shuffle function order Richard Henderson
2023-05-18  9:19   ` Juan Quintela
2023-05-18  4:40 ` [PATCH 7/9] migration/xbzrle: Use i386 cacheinfo.h Richard Henderson
2023-05-18  9:44   ` Juan Quintela
2023-05-18  4:40 ` [PATCH 8/9] migration: Build migration_files once Richard Henderson
2023-05-18  9:20   ` Juan Quintela
2023-05-18  4:40 ` [PATCH 9/9] util: Add cpuinfo-aarch64.c Richard Henderson
2023-05-18 15:55   ` Peter Maydell

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