This is the mail archive of the gcc-patches@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: [PATCH, rs6000 v4] enable gimple folding for vec_xl, vec_xst


Hi!

On Tue, Jul 10, 2018 at 12:10:51PM -0500, Will Schmidt wrote:
> Add support for Gimple folding for unaligned vector loads and stores.

This is fine if the experts agree.  Thanks!  And thanks to the reviewers,
too.

One detail:

> 	* config/rs6000/rs6000.c (rs6000_builtin_valid_without_lhs): Add
> 	vec_xst variants to the list.
> 	(rs6000_gimple_fold_builtin): Add support for folding unaligned
> 	vector loads and stores.

> +    case VSX_BUILTIN_STXVW4X_V4SI:
> +    case VSX_BUILTIN_STXVD2X_V2DF:
> +    case VSX_BUILTIN_STXVD2X_V2DI:
> +      {
> +	 arg0 = gimple_call_arg (stmt, 0); /* Value to be stored.  */

Indent here is wrong.


Segher


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