Hello Richard

On 06.03.09, you wrote:

ah thanks for info, i understand now too wy sqrtf, fmod (work in C programs)
get linker error on C++ programs but sqrt and some other work on platform
68k.
in c++/4.3.2/cmath include 

is this code.

using ::sqrt;

  inline float
  sqrt(float __x)
  { return __builtin_sqrtf(__x); }
 
But .md file of many architetures contain no entry for this.I see only i386,
rs6000, ia64, sh contain code for this.(I search for sqrtf and list files
that contain this) 
the header files are build during GCC build, i change nothing.

Is there something wrong during compiler Build process ?

>> 
>> How can i then implement lrint func without asm Code ?
> 
> If the backend does not support inlining lrint then you need to link
> against a C99 math library (-lm).  You can add lrint<srcmode><destmode>
> patterns to m68k.md to provide inline expansions.
> 
> Richard.
> 
>> please help
>> 
>> 
Regards

Reply via email to