[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #35496] _FFS: Macro should be obsoleted/no more reco

From: Georg-Johann Lay
Subject: [avr-libc-dev] [bug #35496] _FFS: Macro should be obsoleted/no more recommended
Date: Thu, 09 Feb 2012 21:43:53 +0000
User-agent: Opera/9.80 (Windows NT 5.0; U; de) Presto/2.6.30 Version/10.63


                 Summary: _FFS: Macro should be obsoleted/no more recommended
                 Project: AVR C Runtime Library
            Submitted by: gjlayde
            Submitted on: Do 09 Feb 2012 21:43:52 GMT
                Category: Library
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: libc code
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.8.0
           Fixed Release: None



GCC's builtin machinery can fold ffs* with constant arguments.

If a no-constant is passed to ffs resp. ffsl then avr-gcc provides efficient
assembler implementations, see __ffshi2 and __ffssi2 in libgcc:


Notice that avr-gcc is aware of the reduces register footprint of these libgcc


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]