CRIS: Fix ccmode typo in cris_postdbr_cmpelim
commit46f9d150c712e70c41aed7293058a75e55c8300f
authorHans-Peter Nilsson <hp@axis.com>
Fri, 28 Apr 2023 22:12:39 +0000 (29 00:12 +0200)
committerHans-Peter Nilsson <hp@bitrange.com>
Wed, 10 May 2023 00:32:17 +0000 (10 02:32 +0200)
treeba3915894cb0b67072abbf32348fc8db5d5cd948
parent35e324da03c53504059460d4a84059230b7d97aa
CRIS: Fix ccmode typo in cris_postdbr_cmpelim

Typo spotted while doing CCmode improvements, as a missed
optimization.  It's almost visible from the patch context;
there's not much done in terms of "mode-adjustment" when
replacing (reg:CC CRIS_CC0_REGNUM) with a copy!
This bug affects functions in the newlib printf-formatting
functions (nothing else in libgcc or newlib libc), with the
performance impact on coremark scores being less than 1e-6
(3/5078992 cycles, 6/48543 bytes).

* config/cris/cris.cc (cris_postdbr_cmpelim): Correct mode
of modeadjusted_dccr.
gcc/config/cris/cris.cc