r254374 - in /trunk/gcc: ChangeLog config/rs600...

segher@gcc.gnu.org segher@gcc.gnu.org
Fri Nov 3 14:09:00 GMT 2017


Author: segher
Date: Fri Nov  3 14:09:10 2017
New Revision: 254374

URL: https://gcc.gnu.org/viewcvs?rev=254374&root=gcc&view=rev
Log:
rs6000: Improve *lt0 patterns

The rs6000 port currently has an *lt0_disi define_insn, setting the DI
result to whether the SI argument is negative or not.  It turns out the
generic optimisers cannot always figure out in the other cases either
that this is just a shift for us.  This patch adds patterns for all
four SI/DI combinations.


	* config/rs6000/rs6000.md (*lt0_disi): Delete.
	(*lt0_<mode>di, *lt0_<mode>si): New.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.md



More information about the Gcc-cvs mailing list