qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 0/6] qemu/bswap: Use compiler __builtin_bswap()


From: Thomas Huth
Subject: Re: [PATCH v3 0/6] qemu/bswap: Use compiler __builtin_bswap()
Date: Thu, 26 Jan 2023 13:47:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0

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

[Prev in Thread] Current Thread [Next in Thread]