Re: [PATCH 1/2] fbdev: Improve performance of sys_fillrect()

2022-02-18 Thread Sam Ravnborg
Hi Thomas, On Thu, Feb 17, 2022 at 11:34:04AM +0100, Thomas Zimmermann wrote: > Improve the performance of sys_fillrect() by using word-aligned > 32/64-bit mov instructions. While the code tried to implement this, > the compiler failed to create fast instructions. The resulting > binary

Re: [PATCH 1/2] fbdev: Improve performance of sys_fillrect()

2022-02-18 Thread Javier Martinez Canillas
Hello Thomas, On 2/17/22 11:34, Thomas Zimmermann wrote: > Improve the performance of sys_fillrect() by using word-aligned > 32/64-bit mov instructions. While the code tried to implement this, > the compiler failed to create fast instructions. The resulting > binary instructions were even slower

[PATCH 1/2] fbdev: Improve performance of sys_fillrect()

2022-02-17 Thread Thomas Zimmermann
Improve the performance of sys_fillrect() by using word-aligned 32/64-bit mov instructions. While the code tried to implement this, the compiler failed to create fast instructions. The resulting binary instructions were even slower than cfb_fillrect(), which uses the same algorithm, but operates