Re: [PATCH 4/4] sm501: Optimise 1 pixel 2d ops

2020-06-15 Thread BALATON Zoltan
On Mon, 15 Jun 2020, Peter Maydell wrote: On Sat, 6 Jun 2020 at 20:22, BALATON Zoltan wrote: Some guests do 1x1 blits which is faster to do directly than calling a function for it so avoid overhead in this case. How much does the performance improve by ? I haven't actually measured due to

Re: [PATCH 4/4] sm501: Optimise 1 pixel 2d ops

2020-06-15 Thread Peter Maydell
On Sat, 6 Jun 2020 at 20:22, BALATON Zoltan wrote: > > Some guests do 1x1 blits which is faster to do directly than calling a > function for it so avoid overhead in this case. How much does the performance improve by ? > Signed-off-by: BALATON Zoltan > --- > hw/display/sm501.c | 40

[PATCH 4/4] sm501: Optimise 1 pixel 2d ops

2020-06-06 Thread BALATON Zoltan
Some guests do 1x1 blits which is faster to do directly than calling a function for it so avoid overhead in this case. Signed-off-by: BALATON Zoltan --- hw/display/sm501.c | 40 +--- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git