From 3188a512c43dd8ad5b270163e2f21b43384bbfd8 Mon Sep 17 00:00:00 2001 From: Nicolas Pitre Date: Mon, 1 Nov 2004 04:40:48 +0000 Subject: [PATCH] ieee754-sf.S (floatdisf): Fix regression with values smaller than 2^32. * config/arm/ieee754-sf.S (floatdisf): Fix regression with values smaller than 2^32. From-SVN: r89934 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/ieee754-sf.S | 2 ++ 2 files changed, 7 insertions(+) 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 + + * config/arm/ieee754-sf.S (floatdisf): Fix regression with + values smaller than 2^32. + 2004-10-31 Jeff Law * 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) -- 2.30.2