qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/6] qemu/bswap: Use compiler __builtin_bswap()
@ 2023-01-11 16:31 Philippe Mathieu-Daudé
  2023-01-11 16:31 ` [PATCH v3 1/6] qemu/bswap: Replace bswapXX() by " Philippe Mathieu-Daudé
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-01-11 16:31 UTC (permalink / raw)
  To: qemu-devel
  Cc: Marc-André Lureau, Ryo ONODERA, Daniel P. Berrangé,
	Thomas Huth, Ira Weiny, Paolo Bonzini, Kamil Rytarowski,
	Philippe Mathieu-Daudé, Reinoud Zandijk, Jonathan Cameron

Implement Richard's suggestion to use __builtin_bswap().

Convert to __builtin_bswap() one patch per OS to simplify
maintainers review.

Since v2:
- Rebased adapting ./configure changes to meson

Since v1:
- Remove the Haiku/BSD ifdef'ry (Peter)
- Include the Haiku VM image from Alexander

Philippe Mathieu-Daudé (6):
  qemu/bswap: Replace bswapXX() by compiler __builtin_bswap()
  qemu/bswap: Replace bswapXXs() by compiler __builtin_bswap()
  qemu/bswap: Remove <byteswap.h> dependency
  qemu/bswap: Use compiler __builtin_bswap() on Haiku
  qemu/bswap: Use compiler __builtin_bswap() on FreeBSD
  qemu/bswap: Use compiler __builtin_bswap() on NetBSD

 include/qemu/bswap.h | 83 ++++++++------------------------------------
 meson.build          |  6 ----
 2 files changed, 15 insertions(+), 74 deletions(-)

-- 
2.38.1



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

end of thread, other threads:[~2023-01-26 12:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-11 16:31 [PATCH v3 0/6] qemu/bswap: Use compiler __builtin_bswap() Philippe Mathieu-Daudé
2023-01-11 16:31 ` [PATCH v3 1/6] qemu/bswap: Replace bswapXX() by " Philippe Mathieu-Daudé
2023-01-11 16:31 ` [PATCH v3 2/6] qemu/bswap: Replace bswapXXs() " Philippe Mathieu-Daudé
2023-01-11 16:31 ` [PATCH v3 3/6] qemu/bswap: Remove <byteswap.h> dependency Philippe Mathieu-Daudé
2023-01-11 16:31 ` [PATCH v3 4/6] qemu/bswap: Use compiler __builtin_bswap() on Haiku Philippe Mathieu-Daudé
2023-01-11 16:31 ` [PATCH v3 5/6] qemu/bswap: Use compiler __builtin_bswap() on FreeBSD Philippe Mathieu-Daudé
2023-01-11 16:31 ` [PATCH v3 6/6] qemu/bswap: Use compiler __builtin_bswap() on NetBSD Philippe Mathieu-Daudé
2023-01-13  1:05 ` [PATCH v3 0/6] qemu/bswap: Use compiler __builtin_bswap() Richard Henderson
2023-01-13  7:05   ` Philippe Mathieu-Daudé
2023-01-13  7:20     ` Thomas Huth
2023-01-17  8:24     ` Philippe Mathieu-Daudé
2023-01-18  2:17       ` Richard Henderson
2023-01-26 12:47 ` Thomas Huth

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