Commit fe9e5342 by Richard Earnshaw Committed by Paul Brook

re PR target/30192 ([arm] Wrong sp value on exit after calling __floatdidf or __floatundidf)

2007-12-13  Richard Earnshaw  <rearnsha@arm.com>

	PR target/30192
	* config/arm/ieee754-df.S (floatundidf): Fix for wrong sp value on
	exit when using hard FPA.
	* config/arm/ieee754-df.S (floatdidf): Likewise.

From-SVN: r130800
parent dce3aa50
2007-12-13 Richard Earnshaw <rearnsha@arm.com>
PR target/30192
* config/arm/ieee754-df.S (floatundidf): Fix for wrong sp value on
exit when using hard FPA.
* config/arm/ieee754-df.S (floatdidf): Likewise.
2007-12-12 Jakub Jelinek <jakub@redhat.com> 2007-12-12 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/30589 PR bootstrap/30589
...@@ -512,7 +512,8 @@ ARM_FUNC_ALIAS aeabi_ul2d floatundidf ...@@ -512,7 +512,8 @@ ARM_FUNC_ALIAS aeabi_ul2d floatundidf
@ we can return the result in f0 as well as in r0/r1 for backwards @ we can return the result in f0 as well as in r0/r1 for backwards
@ compatibility. @ compatibility.
adr ip, LSYM(f0_ret) adr ip, LSYM(f0_ret)
do_push {r4, r5, ip, lr} @ Push pc as well so that RETLDM works correctly.
do_push {r4, r5, ip, lr, pc}
#else #else
do_push {r4, r5, lr} do_push {r4, r5, lr}
#endif #endif
...@@ -537,7 +538,8 @@ ARM_FUNC_ALIAS aeabi_l2d floatdidf ...@@ -537,7 +538,8 @@ ARM_FUNC_ALIAS aeabi_l2d floatdidf
@ we can return the result in f0 as well as in r0/r1 for backwards @ we can return the result in f0 as well as in r0/r1 for backwards
@ compatibility. @ compatibility.
adr ip, LSYM(f0_ret) adr ip, LSYM(f0_ret)
do_push {r4, r5, ip, lr} @ Push pc as well so that RETLDM works correctly.
do_push {r4, r5, ip, lr, pc}
#else #else
do_push {r4, r5, lr} do_push {r4, r5, lr}
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment