diff options
author | segher <segher@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-02 20:19:19 +0000 |
---|---|---|
committer | segher <segher@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-02 20:19:19 +0000 |
commit | 9da3143a3710388809cec3b2b2d959a44872ea60 (patch) | |
tree | 55483e0c6041d55004fd9e1326e9f7d35571d985 /gcc/sparseset.h | |
parent | b6cfb856fce3df33eae001ac9fbbde7ae7d5fe5c (diff) | |
download | gcc-9da3143a3710388809cec3b2b2d959a44872ea60.tar.gz |
Only transform rotate to rotatert and v.v. if target has both
Many targets do not have both rotate and rotatert. Of the 47 targets
in the tree, 17 have both, 9 have only rotate, 2 have only rotatert, and
19 have neither (this is based on "grep -wil" so it can be slightly off).
rs6000 has only rotate, and mips has only rotatert. For such targets
simplifying rotate to rotatert and vice versa is not simplifying things
at all. rs6000 has already way too many rotate patterns (some days it
seems like two thousand, but it is somewhat less in reality still); I
would prefer not to double that again.
So, this patch makes genrecog define HAVE_rotate and HAVE_rotatert if
those RTL codes are mentioned anywhere in the machine description, and
then does the transformation in simplify-rtx.c only if both these flags
are set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212239 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sparseset.h')
0 files changed, 0 insertions, 0 deletions