cris: Enable 32-bit shifts, clz, bswap, umin to set condition codes.
authorHans-Peter Nilsson <hp@axis.com>
Mon, 3 Feb 2020 02:15:01 +0000 (03:15 +0100)
committerHans-Peter Nilsson <hp@axis.com>
Sat, 9 May 2020 02:18:17 +0000 (04:18 +0200)
commitd137723be6b9bb0f7c0e69aea0c6735ad092f366
tree2926c6654c6a53660b0376342002b64a30c1d38d
parent730cafefe6b96ddacfd1c2145b39dde68bed4f4f
cris: Enable 32-bit shifts, clz, bswap, umin to set condition codes.

Enables dropping of compares with zero of the result, through
any CCmode substitution.

gcc:
* config/cris/cris.md
("<acc><anz><anzvc><shlr>si3<setcc><setnz><setnzvc>"): Rename
from "<shlr>si3".
("<acc><anz><anzvc>clzsi2<setcc><setnz><setnzvc>"): Rename
from "clzsi2".
("<acc><anz><anzvc>bswapsi2<setcc><setnz><setnzvc>"): Rename
from "bswapsi2".
("*uminsi3<setcc><setnz><setnzvc>"): Rename from "*uminsi3".
gcc/ChangeLog
gcc/config/cris/cris.md