* config/m32c/m32c_lib1.S (__mulsi3): Use only registers for dest.

From-SVN: r116196
This commit is contained in:
Naveen.H.S 2006-08-17 00:05:07 +00:00 committed by DJ Delorie
parent efed193e0a
commit d8db3756c9
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2006-08-16 Naveen.H.S <naveenh@kpitcummins.com>
* config/m32c/m32c_lib1.S (__mulsi3): Use only registers for dest.
2006-08-16 Joseph S. Myers <joseph@codesourcery.com>
PR c/27697

View File

@ -152,14 +152,15 @@ __m32c_eh_return:
___mulsi3:
enter #0
push.w r2
mov.w SAL,mem0
mov.w SAH,mem2
mulu.w SBL,mem0 /* writes to r2r0 */
mov.w SAL,r0
mulu.w SBL,r0 /* writes to r2r0 */
mov.w r0,mem0
mov.w r2,mem2
mov.w SAL,r0
mulu.w SBH,r0 /* writes to r2r0 */
add.w r0,mem2
mov.w SAH,r0
mulu.w SBL,r0
mulu.w SBL,r0 /* writes to r2r0 */
add.w r0,mem2
pop.w r2
exitd