On 13.04.19 01:50, Richard Henderson wrote: > On 4/11/19 12:08 AM, David Hildenbrand wrote: >> Similar to VECTOR LOAD COMPLEMENT but unfortunately we don't have a >> gvec helper. >> >> Signed-off-by: David Hildenbrand <da...@redhat.com> >> --- >> target/s390x/helper.h | 2 ++ >> target/s390x/insn-data.def | 2 ++ >> target/s390x/translate_vx.inc.c | 40 +++++++++++++++++++++++++++++++++ >> target/s390x/vec_int_helper.c | 14 ++++++++++++ >> 4 files changed, 58 insertions(+) > > I would be happy to add ABS as a gvec primitive, if you like. > Expandable with MAX or CMP on hosts without ABS.
Sure, that would be great. Once you have that one implemented we can throw most of this stuff away (either before or after merging). Thanks! > > Reviewed-by: Richard Henderson <richard.hender...@linaro.org> > > > r~ > -- Thanks, David / dhildenb