Re: [PATCH 3/4] qemu/bswap: Add const_le64() and const_be64()

2020-09-17 Thread Richard Henderson
On 9/17/20 9:31 AM, Philippe Mathieu-Daudé wrote: > From: Philippe Mathieu-Daudé > > We already have the const_endian() macros for 16-bit and > 32-bit values. Implement the 64-bit equivalent macros. > > Signed-off-by: Philippe Mathieu-Daudé > --- > include/qemu/bswap.h | 22 +++

[PATCH 3/4] qemu/bswap: Add const_le64() and const_be64()

2020-09-17 Thread Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé We already have the const_endian() macros for 16-bit and 32-bit values. Implement the 64-bit equivalent macros. Signed-off-by: Philippe Mathieu-Daudé --- include/qemu/bswap.h | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a