[ARC] Improve instruction selection for fp moves.
authorClaudiu Zissulescu <claziss@synopsys.com>
Wed, 25 Jul 2018 14:31:16 +0000 (16:31 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Wed, 25 Jul 2018 14:31:16 +0000 (16:31 +0200)
commita96377575b546f2207c83906c68683af30fe92f7
treefaf79797864b1baacde4f7550f4db897495fb8c3
parent3e4a5f5485c15381c67a940d5da449242ace9029
[ARC] Improve instruction selection for fp moves.

Improve selection of short instruction for fp-moves.

gcc/
2018-05-17  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc.md (movsf_insn): Add short instruction selection.
* config/arc/constraints.md (CfZ): New constraint.
* config/arc/fpu.md (addssf3_fpu): Use CfZ constraint.
(subsf3_fpu): Likewise.
(cmpsf_fpu): Likewise.
(cmpsf_fpu_uneq): Likewise.

From-SVN: r262971
gcc/ChangeLog
gcc/config/arc/arc.md
gcc/config/arc/constraints.md
gcc/config/arc/fpu.md