why not consfold sin(const)
Timothy J.Wood
tjw@omnigroup.com
Sun Sep 19 20:53:00 GMT 2004
On Sep 19, 2004, at 12:17 PM, Robert Dewar wrote:
> Not at all, it is far more complex to implement, since you need a very
> accurate set of target independent elementary function routines (you
> can't just go calling these routines from the compiler and using the
> host functions!)
How about defining a ctor for that .o file that calls the target's
elementary function at run time and puts it a global created by the
compiler?
This has some arguably less than ideal side effects (the global would
need to be in writable memory), but it seems to me that this is not
"impossible" as a previous message claimed.
-tim
More information about the Gcc
mailing list