On Thu, 30 Jun 2016, Bill Schmidt wrote:

> # Return 1 if the target supports any special run-time requirements           
>   
> # for __float128 or _Float128,                                                
>   
> # 0 otherwise.                                                                
>   
> 
> proc check_effective_target_base_quadfloat_support { } {
>     if { [istarget powerpc*-*-*] } {
>         return [check_vsx_hw_available]
>     }
>     return 1
> }

Yes, that seems about right - can be combined with either tests on target 
names for __float128, or with the compile test for _Float128 (provided 
that dg-add-options float128 - which is preferred to hardcoding the 
particular options in the individual tests - can be made to take effect 
before the compile test for _Float128 gets run).

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to