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

 
 

bug #21872: __floatunsisf/undisf incorrectly named

Submitted by:  Andreas Kaiser <prx99>
Submitted on:  Sat 22 Dec 2007 09:00:07 PM UTC  
 
Category: LibrarySeverity: 3 - Normal
Priority: 5 - NormalItem Group: libm code
Status: FixedPercent Complete: 100%
Assigned to: Dmitry Xmelkov <dmix>Open/Closed: Closed
Release: NoneFixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 19 Mar 2008 10:28:06 PM UTCarcanumOpen/ClosedOpen=>Closed
    Sun 23 Dec 2007 08:13:23 AM UTCdmixStatusNone=>Fixed
      Percent Complete0%=>100%
    Sat 22 Dec 2007 09:23:49 PM UTCjoerg_wunschAssigned toNone=>dmix
    Sat 22 Dec 2007 09:00:54 PM UTCprx99Carbon-CopyRemoved prx99=>-
    Sat 22 Dec 2007 09:00:08 PM UTCprx99Carbon-Copy-=>Added prx99

    Back to the top


    Powered by Savane 3.1-cleanup1