Re: [PATCH 1/1] include/qemu/bitops.h: Add deposit8 for uint8_t bit operation

2024-08-28 Thread Jason Fan
arguments, but since the implementation seems trivial enough, I just go ahead and create the patch. Thank you. On Tue, Aug 27, 2024 at 2:23 AM Peter Maydell wrote: > On Mon, 26 Aug 2024 at 22:01, Jason Fan wrote: > > > > Signed-off-by: Jason Fan > > --- > >

[PATCH 1/1] include/qemu/bitops.h: Add deposit8 for uint8_t bit operation

2024-08-26 Thread Jason Fan
Signed-off-by: Jason Fan --- include/qemu/bitops.h | 26 ++ 1 file changed, 26 insertions(+) diff --git a/include/qemu/bitops.h b/include/qemu/bitops.h index 2c0a2fe751..d01c4b42f2 100644 --- a/include/qemu/bitops.h +++ b/include/qemu/bitops.h @@ -459,6 +459,32 @@ static

[PATCH 0/1] Subject: Support deposit8 in include/qemu/bitops.h

2024-08-26 Thread Jason Fan
Jason Fan (1): include/qemu/bitops.h: Add deposit8 for uint8_t bit operation include/qemu/bitops.h | 26 ++ 1 file changed, 26 insertions(+) -- 2.46.0.295.g3b9ea8a38a-goog