Re: [PATCH 1/4] ppc/amigaone: Simplify replacement dummy_fw

2025-02-26 Thread Nicholas Piggin
On Sun Feb 23, 2025 at 3:52 AM AEST, BALATON Zoltan wrote: > There's no need to do shift in a loop, doing it in one instruction > works just as well, only the result is used. > > Signed-off-by: BALATON Zoltan Resulting asm looks right to me. Reviewed-by: Nicholas Piggin > --- > hw/ppc/amigaon

[PATCH 1/4] ppc/amigaone: Simplify replacement dummy_fw

2025-02-22 Thread BALATON Zoltan
There's no need to do shift in a loop, doing it in one instruction works just as well, only the result is used. Signed-off-by: BALATON Zoltan --- hw/ppc/amigaone.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/hw/ppc/amigaone.c b/hw/ppc/amigaone.c index b02792221c..4290