[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-libc-dev] Re: [avr-libc-commit] [2103] Probe the compilerfor th
From: |
Weddington, Eric |
Subject: |
RE: [avr-libc-dev] Re: [avr-libc-commit] [2103] Probe the compilerfor the availability of the |
Date: |
Wed, 17 Mar 2010 13:02:16 -0600 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Joerg Wunsch
> Sent: Wednesday, March 17, 2010 9:08 AM
> To: address@hidden
> Subject: Re: [avr-libc-dev] Re: [avr-libc-commit] [2103]
> Probe the compilerfor the availability of the
>
> As Timo Sandmann wrote:
>
> > JFYI __builtin_avr_fmul(), __builtin_avr_fmuls(),
> > __builtin_avr_fmulsu() don't work for me (they produce internal
> > compiler errors).
>
> Maybe Anatolyj can say something about that. If it doesn't work, we
> should certainly drop it, but then, WinAVR (or whatever its successor
> might be) shouldn't re-introduce it as a local patch either. ;-)
We should get that fixed. Anatoly introduced the other builtin functions (for
individual instructions) and the beginning of the delay-cycle builtin. I came
in and modified the delay-cycle builtin, and then we both worked on it together.
IIRC, Anatoly mentioned that the builtin.h header file should probably be in
GCC, as other targets have builtin functions too, and we should model the AVR
after other ports. I'll have to double-check all that, but I can't do that
until later in the day for me.