summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornico <nico@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-01 04:40:48 +0000
committernico <nico@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-01 04:40:48 +0000
commit4b45a5371929645b6322350b2c6f77dcd11011cb (patch)
tree41181f1c0f27630a86626bc74c9d3fd6b22cd723
parent0332ea549d3bdd32d3010e61d7842194327f8661 (diff)
downloadppe42-gcc-4b45a5371929645b6322350b2c6f77dcd11011cb.tar.gz
ppe42-gcc-4b45a5371929645b6322350b2c6f77dcd11011cb.zip
* config/arm/ieee754-sf.S (floatdisf): Fix regression with
values smaller than 2^32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89934 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/ieee754-sf.S2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5c03c9e8118..6f350f13e80 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-31 Nicolas Pitre <nico@cam.org>
+
+ * config/arm/ieee754-sf.S (floatdisf): Fix regression with
+ values smaller than 2^32.
+
2004-10-31 Jeff Law <law@redhat.com>
* cfgloop.h (struct loop): Remove unused "nodes" field.
diff --git a/gcc/config/arm/ieee754-sf.S b/gcc/config/arm/ieee754-sf.S
index 8eae6e9325d..485a72f19c3 100644
--- a/gcc/config/arm/ieee754-sf.S
+++ b/gcc/config/arm/ieee754-sf.S
@@ -333,6 +333,8 @@ ARM_FUNC_ALIAS aeabi_l2f floatdisf
movs ip, ah
moveq ip, al
+ moveq ah, al
+ moveq al, #0
@ Add initial exponent to sign
orr r3, r3, #((127 + 23 + 32) << 23)
OpenPOWER on IntegriCloud