[ARC] Fix failing pr77309 for ARC700
authorClaudiu Zissulescu <claziss@synopsys.com>
Fri, 22 Nov 2019 08:00:33 +0000 (09:00 +0100)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Fri, 22 Nov 2019 08:00:33 +0000 (09:00 +0100)
commitd9c50233e48becdf628babd0dc03d379b1dec970
treeeff11addcb545f4c88cc61743922eaa8dd735898
parent713877cbd73783fac1a1013cefd24cc273bb4635
[ARC] Fix failing pr77309 for ARC700

The patterns neg_scc_insn and not_scc_insn are not correct, leading to
failing pr77309 test for ARC700. Add two new bic compare with zero
patterns to improve output code.

gcc/
xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc.md (bic_f): Use cc_set_register predicate.
(bic_cmp0_noout): New pattern.
(bic_cmp0): Likewise.
(neg_scc_insn): Remove pattern.
(not_scc_insn): Likewise.

From-SVN: r278610
gcc/ChangeLog
gcc/config/arc/arc.md