Port-vax archive

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

Libgcc and missing complex support routines



Hi folks,

_mulsc3 and friends are not part of libgcc on vax. This causes problems
with recent libm changes.

Apparently they have been disabled because the libgcc2 implementations
refers to __builtin_inf, which does not make sense on vax.

      if (recalc)
        { 
          x = INFINITY * (a * c - b * d);
          y = INFINITY * (a * d + b * c);
        }

AFAICT recalc will never be true on vax anyway, since it would only happen
if isnan() had been true before - so maybe we should just #ifndef $SOMETHING
that whole code block, and re-enable the functions?

Martin
P.S.: the change to disable the functions is in gnu/lib/libgcc4/Makefile.inc,
the code for the functions is in line 1642ff of
gnu/dist/gcc4/gcc/libgcc2.c.


Home | Main Index | Thread Index | Old Index