pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit millicode.
authorAlan Modra <amodra@bigpond.net.au>
Sat, 14 Jul 2001 02:39:39 +0000 (02:39 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Sat, 14 Jul 2001 02:39:39 +0000 (12:09 +0930)
commit7d8b14121146181f36a96a8488460fd21cfd6455
tree9dfdf982ad4e674725743f7990f863ef8cc7f2b8
parent1ed672dd7c9f547350e96259e013ed6a4bd4d6ed
pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit millicode.

* config/pa/pa.c (emit_hpdiv_const): Return reg is r2 for 64-bit
millicode.
(insn_refs_are_delayed): Correct comment.
* config/pa/pa.h (INSN_REFERENCES_ARE_DELAYED): Likewise.
* config/pa/pa.md (mulsi3): If TARGET_64BIT, clobber r2
instead of r31.  Make associated insn !TARGET_64BIT, and
provide an additional 64-bit insn that clobbers r2.
(divsi3): Likewise.
(udivsi3): Likewise.
(modsi3): Likewise.
(umodsi3): Likewise.

From-SVN: r44003
gcc/ChangeLog
gcc/config/pa/pa.c
gcc/config/pa/pa.h
gcc/config/pa/pa.md