This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/29793] TESTW{W,L,Q} rCX + JZ/JE should be replaced by J{,E,R}CXZ when possible



------- Comment #3 from ubizjak at gmail dot com  2006-11-10 11:18 -------
Following asm illustrates the problem:

        .file   "jcx.c"
        .text
        .p2align 4,,15
.globl blah
        .type   blah, @function
blah:
        pushl   %ebp
        movl    %esp, %ebp
        subl    $8, %esp
        jecxz   .L4
.space  128
        call    abort
.L4:
        leave
        ret
        .size   blah, .-blah
        .ident  "GCC: (GNU) 4.3.0 20061110 (experimental)"
        .section        .note.GNU-stack,"",@progbits

You can try to assemble this...


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ubizjak at gmail dot com


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]