[PATCH] test/rs6000: Add Power9 and up as vect_len target

will schmidt will_schmidt@vnet.ibm.com
Mon Aug 31 17:13:48 GMT 2020


On Mon, 2020-08-31 at 14:43 +0800, Kewen.Lin via Gcc-patches wrote:
> Hi,
> 
> Power9 supports vector with length in bytes load/store, this patch
> is to teach check_effective_target_vect_len_load_store to take it
> and its laters as effective vector with length targets.
> 
> Also supplement the documents for has_arch_pwr*.
> 
> Bootstrapped/regtested on powerpc64le-linux-gnu P8.

Presumably also tested on P9 to see the
check_effective_target_vect_len_store  check pass?  :-)

> 
> Is it ok for trunk?
> 
> BR,
> Kewen
> ------
> 
> gcc/ChangeLog:
> 
> 	* doc/sourcebuild.texi (has_arch_pwr5, has_arch_pwr6,
> has_arch_pwr7,
> 	has_arch_pwr8, has_arch_pwr9): Document.

looks good.

> 
> gcc/testsuite/ChangeLog:
> 
> 	* lib/target-supports.exp
> 	(check_effective_target_vect_len_load_store): Call check
> function
> 	check_effective_target_has_arch_pwr9.

Cosmetically matches other procs , looks good.

thanks
-Will



More information about the Gcc-patches mailing list