------- 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

Reply via email to