Re: [PATCH 1/7 V2] ifn/optabs: Support vector load/store with length

2020-06-10 Thread Richard Sandiford
"Kewen.Lin" writes: > @@ -2497,6 +2499,9 @@ expand_mask_load_optab_fn (internal_fn, gcall *stmt, > convert_optab optab) > >if (optab == vec_mask_load_lanes_optab) > icode = get_multi_vector_move (type, optab); > + else if (optab == lenload_optab) > +icode = convert_optab_handler (

[PATCH 1/7 V2] ifn/optabs: Support vector load/store with length

2020-06-09 Thread Kewen.Lin via Gcc-patches
V2: Convert the length to targetm.vectorize.length_mode in related IFN expand functions. btw, since it depends on this hook now, it should be committed after the hook patch if accepted in future. gcc/ChangeLog: 2020-MM-DD Kewen Lin * doc/md.texi (lenload@var{m}@var{n}): Document.