Hi!

On Tue, Feb 11, 2020 at 12:10:50PM -0600, will schmidt wrote:
> +# See if the __ieee128 keyword is understood.
> +proc check_effective_target_ppc_ieee128_ok { } {
> +    return [check_cached_effective_target ppc_ieee128_ok {
> +     # disable on AIX.
> +     if { [istarget *-*-aix*] } {
> +         expr 0
> +     } else {
> +         set options "-mfloat128"
> +         check_runtime_nocache ppc_ieee128_ok {
> +             int main()
> +             {
> +               __ieee128 a;
> +               return 0;
> +             }
> +         } $options
> +     }
> +    }]
> +}

It would be better if you didn't need to special-case AIX here, if the
actual test would figure out it cannot do __ieee128 on AIX.

But, okay for trunk.  Thanks!


Segher

Reply via email to