------- Comment #2 from carrot at google dot com  2010-04-28 09:01 -------
The expected sequence should be:

       ...
       cmp r4, #-1
       beq  .L4
       cmp r0, #-1
       beq  .L4
       ...

When changes the options to -march=armv5te -mthumb -Os, gcc can generate the
expected codes. This time gcc still generate the same gimple code, but expand
to different rtl insns. So we should use the same expand logic as thumb1 in
this case.


-- 


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

Reply via email to