On Tue, 25 Feb 2020, GT wrote:

> 2. In GCC making SIMD clones available only for powerpc64le should be 
> sufficient to guarantee that the Vector Function ABI is applied only for 
> systems implementing the ELFv2 ABI. Right? Then, which macro is to be 
> tested for in rs6000_simd_clone_usable? I expect that TARGET_VSX, 
> TARGET_P8_VECTOR or TARGET_P9_VECTOR are not specific enough.

I have no advice on whether you should restrict it to ELFv2 in GCC or not.  
But if you do restrict it to ELFv2, that's "DEFAULT_ABI == ABI_ELFv2" 
(not sure if you should also test TARGET_64BIT).

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

Reply via email to