[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] Add builtins in avr target.
From: |
Weddington, Eric |
Subject: |
RE: [avr-gcc-list] Add builtins in avr target. |
Date: |
Mon, 21 Apr 2008 12:36:19 -0600 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Rolf Ebert
> Sent: Monday, April 21, 2008 10:24 AM
> To: Anatoly Sokolov
> Cc: address@hidden
> Subject: Re: [avr-gcc-list] Add builtins in avr target.
>
> Anatoly Sokolov schrieb:
> > Hi.
> >
> >> Why can not this be done with library/inline functions?
> >
> > I consider that use builtins allows to realize universal delay
> > function easier. Also use builtins will allow to the same delay
> > funcianality it ADA language.
>
> I have no problem in Ada calling inline assembler functions
> for exactly
> this purpose. I expect to have a hard time, however, to
> figure out how
> to call the builtin function from the Ada front end.
>
> I really don't see the benefit of the builtins, neither for C
> nor for Ada.
If I understand the internals correctly, if we move code from avr-libc
inline assembly macros to GCC builtins, then *eventually* the avr back
end could call these builtins in code generation as needed. So, in
general, I support the idea of having these builtin functions in the avr
port at some point.
- Re: [avr-gcc-list] Add builtins in avr target., (continued)
- Re: [avr-gcc-list] Add builtins in avr target., Oleksandr Redchuk, 2008/04/17
- Re: [avr-gcc-list] Add builtins in avr target., Oleksandr Redchuk, 2008/04/17
- Re: [avr-gcc-list] Add builtins in avr target., Anatoly Sokolov, 2008/04/17
- RE: [avr-gcc-list] Add builtins in avr target., Weddington, Eric, 2008/04/17
- Re: [avr-gcc-list] Add builtins in avr target., Dmitry K., 2008/04/17
- RE: [avr-gcc-list] Add builtins in avr target., Weddington, Eric, 2008/04/18
- Re: [avr-gcc-list] Add builtins in avr target., Dmitry K., 2008/04/18
- Re: [avr-gcc-list] Add builtins in avr target., hutchinsonandy, 2008/04/17
- Re: [avr-gcc-list] Add builtins in avr target., Anatoly Sokolov, 2008/04/18
- Re: [avr-gcc-list] Add builtins in avr target., Rolf Ebert, 2008/04/21
- RE: [avr-gcc-list] Add builtins in avr target.,
Weddington, Eric <=
- RE: [avr-gcc-list] Add builtins in avr target., Weddington, Eric, 2008/04/18
- Re: [avr-gcc-list] Add builtins in avr target., Anatoly Sokolov, 2008/04/20
- Re: [avr-gcc-list] Add builtins in avr target., Anatoly Sokolov, 2008/04/20
- Re: [avr-gcc-list] Add builtins in avr target., Wouter van Gulik, 2008/04/22
Re: [avr-gcc-list] Add builtins in avr target., Rolf Ebert, 2008/04/05