aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2020-01-30 17:14:12 +0100
committerHans-Peter Nilsson <hp@axis.com>2020-05-09 04:07:09 +0200
commit3c7016b08f7a1f62e13a0805d1b5eb1685d3c475 (patch)
treeaa5ec2ee274e6e105ce7e1275d909f36d7720c25 /gcc/tree.h
parenta82c9fb3f70ddc750cba82589894d473de48016e (diff)
downloadgcc-3c7016b08f7a1f62e13a0805d1b5eb1685d3c475.zip
gcc-3c7016b08f7a1f62e13a0805d1b5eb1685d3c475.tar.gz
gcc-3c7016b08f7a1f62e13a0805d1b5eb1685d3c475.tar.bz2
cris: Enable movhi and movqi to set condition codes. Anonymize.
Like with movsi_internal. Looks like the "cc" attribute didn't need tweaking for "movhi", but did for "movqi". N.B.: disabled alternatives make cause a later alternative to match. Also, non-anonymous insns get declarations and gen_* functions. We don't want that; even if it doesn't affect generated code it's sloppy. (This may or may not be preferable to the name decorations obfuscating standard pattern names.) Also anonymize left-over non-anonymous branches; they haven't been needing names since the cbranch pattern was made the generic method. gcc: * config/cris/cris.md ("anz", "anzvc", "acc"): New define_subst_attrs. ("<acc><anz><anzvc>movhi<setcc><setnz><setnzvc>"): Rename from "movhi". Rename "cc" attribute to "cc<cccc><ccnz><ccnzvc>". ("<acc><anz><anzvc>movqi<setcc><setnz><setnzvc>"): Similar from "movqi". Correct contents of, and rename "cc" attribute to "cc<cccc><ccnz><ccnzvc>". ("*b<zcond:code><mode>"): Rename from "b<zcond:code><mode>". ("*b<nzvccond:code><mode>"): Rename from "b<nzvccond:code><mode>". ("*b<rnzcond:code><mode>"): Rename from "*b<rnzcond:code><mode>".
Diffstat (limited to 'gcc/tree.h')
0 files changed, 0 insertions, 0 deletions