bug-mes
[Top][All Lists]
Advanced

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

Re: [bug-mes] Simple division algorithm


From: Danny Milosavljevic
Subject: Re: [bug-mes] Simple division algorithm
Date: Fri, 22 Feb 2019 00:49:32 +0100

Hi Janneke,

On Fri, 22 Feb 2019 00:25:35 +0100
Danny Milosavljevic <address@hidden> wrote:

> > What about lib/mes/__idiv.c and #include it in lib/libc.c (assuming
> > that is where we need it).  
> 
> We need it to be available in any program compiled by mescc that contains an 
> "/" or "%" operator, without the user #including anything.
> 
> I've committed a new file lib/mes/div.c to origin/wip+wip-arm and also 
> modified lib/mes/ntoab.c to be the first explicit user (that's not so 
> nice--but I keep it for now as a place where I can see it).

Could you make it that it will be linked in programs compiled by mescc and not 
linked-in otherwise?  I'm not sure how to do that.

If it's not possible, we can always link it in--it won't be called in the case 
of gcc anyway.

But it would be clearer if mes builtins were not present in gcc-compiled things.

Attachment: pgpNm0PcUMW6Q.pgp
Description: OpenPGP digital signature


reply via email to

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