* config/m32c/m32c_lib1.S (__mulsi3): Use only registers for dest.
From-SVN: r116196
This commit is contained in:
parent
efed193e0a
commit
d8db3756c9
@ -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>
|
2006-08-16 Joseph S. Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
PR c/27697
|
PR c/27697
|
||||||
|
@ -152,14 +152,15 @@ __m32c_eh_return:
|
|||||||
___mulsi3:
|
___mulsi3:
|
||||||
enter #0
|
enter #0
|
||||||
push.w r2
|
push.w r2
|
||||||
mov.w SAL,mem0
|
mov.w SAL,r0
|
||||||
mov.w SAH,mem2
|
mulu.w SBL,r0 /* writes to r2r0 */
|
||||||
mulu.w SBL,mem0 /* writes to r2r0 */
|
mov.w r0,mem0
|
||||||
|
mov.w r2,mem2
|
||||||
mov.w SAL,r0
|
mov.w SAL,r0
|
||||||
mulu.w SBH,r0 /* writes to r2r0 */
|
mulu.w SBH,r0 /* writes to r2r0 */
|
||||||
add.w r0,mem2
|
add.w r0,mem2
|
||||||
mov.w SAH,r0
|
mov.w SAH,r0
|
||||||
mulu.w SBL,r0
|
mulu.w SBL,r0 /* writes to r2r0 */
|
||||||
add.w r0,mem2
|
add.w r0,mem2
|
||||||
pop.w r2
|
pop.w r2
|
||||||
exitd
|
exitd
|
||||||
|
Loading…
Reference in New Issue
Block a user