[ARC] Avoid use of hard registers before reg-alloc.
authorClaudiu Zissulescu <claziss@synopsys.com>
Thu, 1 Jun 2017 09:41:46 +0000 (11:41 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Thu, 1 Jun 2017 09:41:46 +0000 (11:41 +0200)
commit0f75b66845b1ae16de13f02234d4c9be8193f49e
tree30ac40dcf9e874f7249d0d1abdf2d6d5543ab823
parentf533fdf6cc37bdc5b1dec5c622733da97a09f97e
[ARC] Avoid use of hard registers before reg-alloc.

gcc/
2017-06-01  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc.md (mulsi3): Avoid use of hard registers before
reg-alloc when having mul64 or mul32x16 instructions.
(mulsidi3): Likewise.
(umulsidi3): Likewise.
(mulsi32x16): New pattern.
(mulsi64): Likewise.
(mulsidi64): Likewise.
(umulsidi64): Likewise.
(MUL32x16_REG): Define.
(mul64_600): Use MUL32x16_REG.
(mac64_600): Likewise.
(umul64_600): Likewise.
(umac64_600): Likewise.

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