[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Bug: malloc + function returning double + comparison
Re: [Tinycc-devel] Bug: malloc + function returning double + comparison between doubles
Sun, 10 Jun 2012 20:03:24 +0200
KMail/1.13.7 (Linux/3.2.0-2-amd64; KDE/4.7.4; x86_64; ; )
Le dimanche 10 juin 2012 20:01:11, Michael Matz a écrit :
> On Sun, 10 Jun 2012, Daniel Glöckner wrote:
> > On Sun, Jun 10, 2012 at 09:15:52AM +0200, Michael Matz wrote:
> >> Thomas: as you were last fiddling with arm, you might want to check
> >> if the test works on it. The other alloca testcase is #ifdef'ed on
> >> i386 and x86_64, but that only makes sense if alloca really isn't
> >> supported on arm, which I can't believe. If that really is the case
> >> callsave_test() needs to be conditional too.
> > Some time ago I posted an alloca version for ARM:
> > http://lists.nongnu.org/archive/html/tinycc-devel/2011-02/msg00046.html
> Ah, I see. Well, alloca is highly desirable to have IMHO, so ...
> > but we don't build a libtcc1 for ARM
> ... I think we should do so then. As it seems the various arithmetic
> routines of libtcc1.c aren't needed on arm it would only contain alloca.
> I'd vote for the assembler implementation (don't know if it would have to
> differ between the eabi and oldabi variants).
It doesn't use VFP so it will work for both ABI. It also work for the new
eabihf which I introduced as there is no float parameter.
Description: This is a digitally signed message part.