[ARC] Fix movsi_ne pattern.
authorClaudiu Zissulescu <claziss@gmail.com>
Mon, 11 Nov 2019 15:40:20 +0000 (15:40 +0000)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Mon, 11 Nov 2019 15:40:20 +0000 (16:40 +0100)
commit5fcb3f62fc2467e5049030da56ff5f76af9a03a7
treef6bfa9ba49aabf0b5a0a9f21a009e67545bc13d4
parent3a6dd06b6ce8be29cdcfd0b3a0c5e6c66767095e
[ARC] Fix movsi_ne pattern.

The movsi_ne variants are in a wrong order, leading to wrong
computation of the internal attribute "cond". Hence, to errors when
outputting annul-true or annul-false instructions.

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

* config/arc/arc.md (movsi_ne): Reorder instruction variants.

testsuite/
xxxx-xx-xx  Shahab Vahedi  <shahab@synopsys.com>

* gcc.target/arc/delay-slot-limm.c: New test.

From-SVN: r278057
gcc/ChangeLog
gcc/config/arc/arc.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arc/delay-slot-limm.c [new file with mode: 0644]