On 11/01/2023 17.31, Philippe Mathieu-Daudé wrote:
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(-)

Since nobody else picked this up yet, I'll take it for my next pull request. Queued to my staging branch now:

 https://gitlab.com/thuth/qemu/-/commits/staging

  Thomas


Reply via email to