aboutsummaryrefslogtreecommitdiff
path: root/module-common.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2023-01-11 17:31:42 +0100
committerThomas Huth <thuth@redhat.com>2023-01-26 13:25:07 +0100
commit6366ca31ef31bb69d30356c736bf902f15c1c792 (patch)
treee20c770b766a58f1eb952270415d44d45d18e468 /module-common.c
parent2b5e0c9ff8299bbfa1a6b0c9cac385adb733152a (diff)
downloadqemu-6366ca31ef31bb69d30356c736bf902f15c1c792.zip
qemu-6366ca31ef31bb69d30356c736bf902f15c1c792.tar.gz
qemu-6366ca31ef31bb69d30356c736bf902f15c1c792.tar.bz2
qemu/bswap: Replace bswapXX() by compiler __builtin_bswap()
Use the compiler built-in function to byte swap values, as the compiler is clever and will fold constants. Suggested-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230111163147.71761-2-philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions