[optabs][ifcvt][1/3] Define negcc, notcc optabs
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 10 Nov 2015 09:35:11 +0000 (09:35 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 10 Nov 2015 09:35:11 +0000 (09:35 +0000)
commitce68b5cfb9d12cb55345bd26ee9114aee925d46a
treef7660813bbcbf78ce1bf2c64cd6933e5e449b3b0
parentdf554b0e49e59c974e45ab21a3a2b4295ce348b2
[optabs][ifcvt][1/3] Define negcc, notcc optabs

* ifcvt.c (noce_try_inverse_constants): New function.
(noce_process_if_block): Call it.
* optabs.h (emit_conditional_neg_or_complement): Declare prototype.
* optabs.def (negcc_optab, notcc_optab): Declare.
* optabs.c (emit_conditional_neg_or_complement): New function.
* doc/tm.texi (Standard Names): Document negcc, notcc names.

From-SVN: r230089
gcc/ChangeLog
gcc/doc/md.texi
gcc/ifcvt.c
gcc/optabs.c
gcc/optabs.def
gcc/optabs.h