This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/30173] [4.0/4.1/4.2/4.3 Regression] Error in ARM softfloat routine __adddf3
- From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jan 2007 10:10:18 -0000
- Subject: [Bug target/30173] [4.0/4.1/4.2/4.3 Regression] Error in ARM softfloat routine __adddf3
- References: <bug-30173-13736@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from rearnsha at gcc dot gnu dot org 2007-01-05 10:10 -------
A better patch, suggested by Nicolas Pitre is:
@ Result is x + 0.0 = x or 0.0 + y = y.
- teq r4, #0
+ orrs ip, r4, xl
moveq xh, yh
moveq xl, yl
RETLDM "r4, r5"
which performs the same test without costing the extra instruction.
--
rearnsha at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rearnsha at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-01-05 10:10:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30173