bugAVR C Runtime Library - Bugs: bug #21872, __floatunsisf/undisf incorrectly...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #21872: __floatunsisf/undisf incorrectly named

Submitter:  Andreas Kaiser <prx99>
Submitted:  Sat 22 Dec 2007 09:00:07 PM UTC
   
 
Category:  Library Severity:  3 - Normal
Priority:  5 - Normal Item Group:  libm code
Status:  Fixed Assigned to:  dmix
Percent Complete:  100% Open/Closed:  Closed
Release:  None Fixed Release:  None

Sun 23 Dec 2007 08:13:23 AM UTC, comment #2: 

Andreas Kaiser, thank you!

It is a real bug with new GCC (4.2). It enlarges the program size approx. by 1kB.
In contrast to early versions, avr-gcc 4.2 has documented funcion names of such coversions and it does realy use floatun*() function. Old compiler uses signed conversion and large inline code to correct the result.

Note, that the 'un' is used only here, all other names use the 'uns': fixunssisf, floatunssisd, floatunsMN2 ...

Fixed in CVS HEAD, 1.6

Dmitry Xmelkov <dmix>
Group administrator
Sun 23 Dec 2007 03:01:55 AM UTC, comment #1: 

Confirm with GCC 4.2.2
GCC 4.1 (and early) calls __floatsisf() only, so this files were for feature use.
Work in progress...

Dmitry Xmelkov <dmix>
Group administrator
Sat 22 Dec 2007 09:00:07 PM UTC, original submission:  

avr-libc-1.6.1/libm/fplib/floatsisf.S defines __floatunssisf instead of __floatunsisf

avr-libc-1.6.1/libm/fplib/floatunsdisf.S defines __floatunsdisf instead of __floatundisf

Andreas Kaiser <prx99>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arcanum (Updated the item)
  • -email is unavailable- added by dmix (Posted a comment)
  • -email is unavailable- added by joerg_wunsch (Updated the item)
  • -email is unavailable- added by prx99 (Submitted the item)
  •  

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-03-19 arcanum Open/ClosedOpen Closed
    2007-12-23 dmix StatusNone Fixed
        Percent Complete0% 100%
    2007-12-22 joerg_wunsch Assigned toNone dmix
    2007-12-22 prx99 Carbon-CopyRemoved prx99 -
    2007-12-22 prx99 Carbon-Copy- Added prx99

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code