diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2020-01-31 16:03:15 +0100 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2020-05-09 04:12:03 +0200 |
commit | e561b9fe0b4b3702e18b7bf12f03b1fbe0d111b4 (patch) | |
tree | 2b35a8eeb1b11696e3d1c9fbba926f7ccb005422 /gcc/tree.h | |
parent | 61c964c7fd2ad96cec262a2bcd1fc13bd2e2eff8 (diff) | |
download | gcc-e561b9fe0b4b3702e18b7bf12f03b1fbe0d111b4.zip gcc-e561b9fe0b4b3702e18b7bf12f03b1fbe0d111b4.tar.gz gcc-e561b9fe0b4b3702e18b7bf12f03b1fbe0d111b4.tar.bz2 |
cris: Enable additions and subtractions to set condition codes.
Enabling dropping of compares with zero of the result, through
the non-VC-setting CCmode substitution. Beware that the
substitutions for 8- and 16-bit patterns will in some cases be
size-neutral; e.g. replacing an "addq 1..63,$rN" + "test.w $rN"
or "subq 1..63,$rN" + "test.w $rN" with an "add.w -63..63,$rN".
gcc:
* config/cris/cris.md ("*adddi3<setnz>"): Rename from "*adddi3".
cris: Enable 32-bit addition to set condition codes.
("*subdi3<setnz>"): Similarly from "*subdi3".
("*addsi3<setnz>"): Similarly from "*addsi3".
("*subsi3<setnz>"): Similarly from "*subsi3".
("*addhi3<setnz>"): Similarly from "*addhi3" and decorate the
"cc" attribute to "cc<ccnz>".
("*addqi3<setnz>"): Similarly from "*addqi3".
("*sub<mode>3<setnz>"): Similarly from "*sub<mode>3".
Diffstat (limited to 'gcc/tree.h')
0 files changed, 0 insertions, 0 deletions