(
Jump to the original submission)
Sun 25 Sep 2005 12:04:14 AM UTC, comment #9:
Patch to 'avr-libc-sources-20050915'.
It is a result of 'cvs rdiff -u' command.
New functions are included with DOXYGEN comments.
Tests are not included.
|
Tue 13 Sep 2005 09:23:15 PM UTC, comment #8:
Diff for CVS version. I have not insert documentation comments and have not check documentation building for the present. Tests are not included.
|
Sun 11 Sep 2005 08:47:00 PM UTC, comment #7:
Re-opened after recent discussion in avr-libc-dev.
|
Thu 08 Sep 2005 06:51:58 PM UTC, comment #6:
Björn rather wants to fix that inside libgcc.
|
Wed 07 Sep 2005 10:02:11 PM UTC, comment #5:
Today I have taken a 'ffs-20050423.tar.gz' to check up, what version of functions there is. The file did not manage to be unpacked! I have found at myself an initial variant. It has appeared, that the length of files coincides only, and contents are completely destroyed! I send a file repeatedly, having changed only date in a name of archive.
Dmitry.
|
Wed 07 Sep 2005 07:49:48 PM UTC, comment #4:
Is there any news from any of those who discussed that item
previously? Otherwise, I'd go ahead and commit what's there.
|
Sat 23 Apr 2005 09:13:04 AM UTC, comment #3:
I've had a look at your functions.
Very good! Most interesting for me has been that there is this __builtin_constant_p () function! Very useful!
Did not know that beforehand.
Suggestion from my side concerning the implementation is:
I'd try to make the function as efficient as a real builtin function of gcc by defining
char ffs inline (int param)
{
inline asm stating in which registers to pass parameters
and which registers are actually clobbered.
}
Possibly this way one could also remove things like the
"clr r25" for the zero-extension that possibly is not necessary.
I'll think about that and send a more detailed suggestion.
Yours,
Björn
|
Sat 23 Apr 2005 03:12:36 AM UTC, comment #2:
AVR-optimized 'ffs' functions family is present. And tests.
|
Tue 19 Apr 2005 07:26:40 PM UTC, comment #1:
For reference, the ffs function can be found in newlib.
<http://sources.redhat.com/newlib/libc.html#SEC187>
|
Tue 19 Apr 2005 07:21:02 PM UTC, original submission:
GCC assumes that a ffs function is provided by the target's libc. The corresponding gcc bug reference is
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21079
This is not at all an urgent issue. Meanwhile I will mark the absence of support for ffs as known bug in the gcc testsuite framework.
Yours,
Björn
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
Depends on the following items: None found
Items that depend on this one: None found
Follow 14 latest changes.
| Date |
Changed By |
Updated Field |
Previous Value |
=> |
Replaced By |
| Tue 18 Oct 2005 10:46:55 PM UTC | aesok | Status | None |  | Fixed |
| | | Assigned to | aesok |  | None |
| | | Open/Closed | Open |  | Closed |
| Tue 11 Oct 2005 10:52:19 PM UTC | None | Attached File | - |  | Added ffs-20051011.diff.gz, #3037 |
| Sun 09 Oct 2005 12:20:23 PM UTC | aesok | Assigned to | None |  | aesok |
| Sun 25 Sep 2005 12:04:14 AM UTC | None | Attached File | - |  | Added ffs-20050923.diff.gz, #2996 |
| Tue 13 Sep 2005 09:23:18 PM UTC | None | Attached File | - |  | Added ffs-20050914.diff.gz, #2949 |
| Sun 11 Sep 2005 08:47:00 PM UTC | joerg_wunsch | Status | Wont Fix |  | None |
| | | Open/Closed | Closed |  | Open |
| Thu 08 Sep 2005 06:51:58 PM UTC | joerg_wunsch | Status | None |  | Wont Fix |
| | | Open/Closed | Open |  | Closed |
| Wed 07 Sep 2005 10:02:11 PM UTC | None | Attached File | - |  | Added ffs-20050908.tar.gz, #2927 |
| Sat 23 Apr 2005 03:12:36 AM UTC | None | Attached File | - |  | Added ffs-20050423.tar.gz, #2432 |
| Tue 19 Apr 2005 07:21:02 PM UTC | None | Carbon-Copy | - |  | Added bjoern --PUNKT-- m --PUNKT-- haase --AT-- web --PUNKT-- de |