Re: [PATCH] Only transform rotate to rotatert and v.v. if target has both

2014-07-02 Thread Segher Boessenkool
OK. Thanks, committed. It would be useful if you could add one or more tests to the testsuite to confirm proper behaviour when only one of ROTATE/ROTATERT is defined. I'll send a patch in a minute that tests this (as well as some other things) for rs6000. Segher

Re: [PATCH] Only transform rotate to rotatert and v.v. if target has both

2014-06-23 Thread Jeff Law
On 06/22/14 14:58, Segher Boessenkool wrote: 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

[PATCH] Only transform rotate to rotatert and v.v. if target has both

2014-06-22 Thread Segher Boessenkool
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