https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106562
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Dimitar Dimitrov <dimi...@gcc.gnu.org>: https://gcc.gnu.org/g:e95e91eccd022a4a3a86da2749809fbad9afd20e commit r13-3180-ge95e91eccd022a4a3a86da2749809fbad9afd20e Author: Dimitar Dimitrov <dimi...@dinux.eu> Date: Sun Sep 18 16:27:18 2022 +0300 pru: Add cbranchdi4 pattern Manually expanding into 32-bit comparisons is much more efficient than the default expansion into word-size comparisons. Note that word for PRU is 8-bit. PR target/106562 gcc/ChangeLog: * config/pru/pru-protos.h (pru_noteq_condition): New function declaration. * config/pru/pru.cc (pru_noteq_condition): New function. * config/pru/pru.md (cbranchdi4): Define new pattern. gcc/testsuite/ChangeLog: * gcc.target/pru/pr106562-1.c: New test. * gcc.target/pru/pr106562-2.c: New test. * gcc.target/pru/pr106562-3.c: New test. * gcc.target/pru/pr106562-4.c: New test. Signed-off-by: Dimitar Dimitrov <dimi...@dinux.eu>