http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54829
--- Comment #6 from Richard Earnshaw <rearnsha at gcc dot gnu.org> 2012-10-13 16:18:03 UTC --- Note also that flag setting behaviour of the PPC instruction essentially is a comparison of the result against zero. On ARM the flags are set as if the two input operands were compared; that's not the same as comparing the result with zero.