[ARC] Don't split ior/mov predicated insns.
authorClaudiu Zissulescu <claziss@synopsys.com>
Wed, 6 Nov 2019 13:31:43 +0000 (14:31 +0100)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Wed, 6 Nov 2019 13:31:43 +0000 (14:31 +0100)
commit4653da0b6ec2a5c272d9cd98a970f0037f1a5789
treeb38dd3628b3a420fe9087caeab3ab18f9ff536d8
parent4d9329654ceaa84ebf7c3ac8e579169d5e4f37f4
[ARC] Don't split ior/mov predicated insns.

Do not split long immediate constants for predicated instructions.

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

* config/arc/arc.c (arc_split_ior): Add asserts.
(arc_split_mov_const): Likewise.
(arc_check_ior_const): Do not match known short immediate values.
* config/arc/arc.md (movsi): Don't split predicated instructions.
(iorsi): Likewise.

testsuite/
xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>
Sahahb Vahedi  <shahab@synopsys.com>
Cupertino Miranda  <cmiranda@synopsys.com>

* gcc.target/arc/or-cnst-size2.c: New test.

Co-Authored-By: Sahahb Vahedi <shahab@synopsys.com>
From-SVN: r277885
gcc/ChangeLog
gcc/config/arc/arc.c
gcc/config/arc/arc.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arc/or-cnst-size2.c [new file with mode: 0644]