[ARC] Remove non standard funcions calls.
commit89301960df9e8decb7a4d86852b2765497b779cc
authorclaziss <claziss@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Oct 2018 11:27:07 +0000 (31 11:27 +0000)
committerclaziss <claziss@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Oct 2018 11:27:07 +0000 (31 11:27 +0000)
treebe25f7c816bf625f23cb1080b1a3c5dd1996efe3
parentf7631b234010c9ec13c8e76ae4a43b994efd5b2c
[ARC] Remove non standard funcions calls.

Replace all custom "library" calls with compiler known patterns.

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

* config/arc/arc.md (mulsi3): Remove call to mulsi_600_lib.
(mulsi3_600_lib): Remove pattern.
(umulsi3_highpart_600_lib_le): Likewise.
(umulsi3_highpart): Remove call to umulsi3_highpart_600_lib_le.
(umulsidi3): Remove call to umulsidi3_600_lib.
(umulsidi3_600_lib): Remove pattern.
(peephole2): Remove peephole using the above deprecated patterns.

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

* gcc.target/arc/mulsi3_highpart-2.c: Update test.

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

* config/arc/lib1funcs.S (_muldi3): New function.
* config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265672 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arc/arc.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arc/mulsi3_highpart-2.c
libgcc/ChangeLog
libgcc/config/arc/lib1funcs.S
libgcc/config/arc/t-arc