On 9/23/20 3:02 AM, Philippe Mathieu-Daudé wrote: > Use the compiler built-in function to byte swap values, > as the compiler is clever and will fold constants. > > Suggested-by: Richard Henderson <richard.hender...@linaro.org> > Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> > --- > include/qemu/bswap.h | 30 ++++-------------------------- > 1 file changed, 4 insertions(+), 26 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~