------- Comment #2 from ramana dot r at gmail dot com 2009-03-19 16:05 ------- Or get rid of the cmp. The Runtime ABI suggests that the Z,N,C flags are set for the result of the comparison. If that is true then the second cmp is unnecessary.
Table 5 section 4.1.2 of the ARM Runtime ABI suggests this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39501