This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Calls to qp float lib out of sparcv9 head compiler


On Thu, Feb 28, 2002 at 10:54:40AM +0100, Olivier Hainque wrote:
>  AFAICS, this is because expand_fix finds ...
> 
>       (define_expand "fixuns_trunctfdi2"
>        ...
>        "TARGET_FPU && TARGET_ARCH64 && ! TARGET_HARD_QUAD"
>        "
>       {
>         ...
>         emit_library_call_value (gen_rtx (SYMBOL_REF, Pmode, \"_Qp_qtoux\"),
>                                  operands[0], 0, DImode, 1,
>                                  XEXP (slot0, 0), Pmode);
>         DONE;
>       }")
> 
>  Unfortunately, the _Qp_ functions are not available on VxWorks.

Nor when doing a cross build it seems.  The _Qp_* opts are causing me no
end of trouble trying to build a --host=--target=sparc64-x-freebsd5
compiler.
(after building a --host=i386-x-freebsd5 --target=sparc64-x-freebsd5 compiler)

I am only able to get a successful build if I enable HARD_QUAD in
TARGET_DEFAULTS.

I have searched around quite a bit and I cannot find good explanation of
hard-quad-float and soft-quad-float as it applies to UltraSparc [only].

Am I hitting a known cross build problem?  Is gcc/config/sparc/freebsd.h
in error?  Since I am targeting only UltraSparc, should I just turn on
HARD_QUAD for all?

-- 
-- David  (obrien@FreeBSD.org)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]