This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fix another ARM ieee754 asm bug
- From: Nicolas Pitre <nico at cam dot org>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Richard Earnshaw <rearnsha at arm dot com>
- Date: Sun, 31 Oct 2004 23:39:35 -0500 (EST)
- Subject: fix another ARM ieee754 asm bug
- References: <Pine.LNX.4.61.0410271614150.3621@xanadu.home>
Another (hopefully the last) bug with DImode conversion routines.
This one has apparently never been tested given the needed fix (my bad).
2004-10-31 Nicolas Pitre <nico@cam.org>
* config/arm/ieee754-sf.S (floatdisf): Fix regression with
values smaller than 2^32.
Index: gcc/config/arm/ieee754-sf.S
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/ieee754-sf.S,v
retrieving revision 1.7
diff -u -r1.7 ieee754-sf.S
--- gcc/config/arm/ieee754-sf.S 21 Oct 2004 04:22:01 -0000 1.7
+++ gcc/config/arm/ieee754-sf.S 1 Nov 2004 04:35:19 -0000
@@ -333,6 +333,8 @@
movs ip, ah
moveq ip, al
+ moveq ah, al
+ moveq al, #0
@ Add initial exponent to sign
orr r3, r3, #((127 + 23 + 32) << 23)