[Bug rtl-optimization/11261] Weak code generated for JPEG compression

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 19 02:51:58 GMT 2025


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11261

--- Comment #10 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #9)
>         add     #4,r0
>         shad    r3,r0
>         and     r7,r0
>         mov.b   @(r0,r1),r0
>         mov.b   r0,@(2,r2)
>         sts     fpul,r0
>         ftrc    fr1,fpul
>         add     #4,r0
>         shad    r3,r0
>         and     r7,r0
>         mov.b   @(r0,r1),r0
>         mov.b   r0,@(5,r2)
>         sts     fpul,r0
>         ftrc    fr4,fpul
>         add     #4,r0
>         shad    r3,r0
>         and     r7,r0
>         mov.b   @(r0,r1),r0
> 
> Still looks similar today

Probably would need to try to re-enable sched1 on SH.  It wasn't exactly clear
why it was disabled long time ago.  But that would have to wait until LRA
transition has been finished.

Thanks for keeping an eye on it anyway.


More information about the Gcc-bugs mailing list