[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/8] qemu/bswap: Use compiler __builtin_bswap()
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 0/8] qemu/bswap: Use compiler __builtin_bswap() |
Date: |
Mon, 28 Sep 2020 15:19:26 +0200 |
Implement Richard's suggestion to use __builtin_bswap().
const_XX() not updated. We could use le_bswap() definitions
but they are undefined, not sure yet what is the best way.
Meanwhile I figure this out, these patches are ready for review.
Since v1:
- Remove the Haiku/BSD ifdef'ry (Peter)
- Include the Haiku VM image from Alexander
Alexander von Gluck IV (1):
tests/vm: Add Haiku test based on their vagrant images
Philippe Mathieu-Daudé (7):
qemu/bswap: Remove unused qemu_bswap_len()
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
configure | 28 ---------
include/qemu/bswap.h | 79 +++++---------------------
tests/keys/vagrant | 27 +++++++++
tests/keys/vagrant.pub | 1 +
tests/vm/Makefile.include | 3 +-
tests/vm/basevm.py | 5 +-
tests/vm/haiku.x86_64 | 116 ++++++++++++++++++++++++++++++++++++++
7 files changed, 164 insertions(+), 95 deletions(-)
create mode 100644 tests/keys/vagrant
create mode 100644 tests/keys/vagrant.pub
create mode 100755 tests/vm/haiku.x86_64
--
2.26.2
- [PATCH v2 0/8] qemu/bswap: Use compiler __builtin_bswap(),
Philippe Mathieu-Daudé <=
- [PATCH v2 1/8] qemu/bswap: Remove unused qemu_bswap_len(), Philippe Mathieu-Daudé, 2020/09/28
- [PATCH v2 2/8] qemu/bswap: Replace bswapXX() by compiler __builtin_bswap(), Philippe Mathieu-Daudé, 2020/09/28
- [PATCH v2 4/8] qemu/bswap: Remove <byteswap.h> dependency, Philippe Mathieu-Daudé, 2020/09/28
- [PATCH v2 3/8] qemu/bswap: Replace bswapXXs() by compiler __builtin_bswap(), Philippe Mathieu-Daudé, 2020/09/28
- [PATCH v2 5/8] qemu/bswap: Use compiler __builtin_bswap() on Haiku, Philippe Mathieu-Daudé, 2020/09/28