[Bug optimization/13329] [3.4 Regression] -fcrossjumping (implied by -O1) pessimizes code

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Dec 6 03:28:00 GMT 2003


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-06 03:28 -------
In fact there are other regressions in this code (+ is 3.3's asm and - is 3.4's asm) (random4 
function):
-.L11:
        cmpl    %edi, %esi
-       jae     .L10
+       jae     .L11
+.L9:
        call    random4
        movzbl  .LC0(%eax), %eax
        movb    %al, (%ebx)
        incl    %ebx
        incl    %esi
-       jmp     .L11
-.L10:
+       cmpl    %edi, %esi
+       jb      .L9
+.L11:

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13329



More information about the Gcc-bugs mailing list