https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104445
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Uroš Bizjak from comment #5)
> We do have:
>
> (define_expand "vec_extractv4qiqi"
> [(match_operand:QI 0 "register_operand")
> (match_operand:V4QI 1 "register_operand")
> (match_operand 2 "const_int_operand")]
> "TARGET_SSE4_1"
> {
> ix86_expand_vector_extract (false, operands[0],
> operands[1], INTVAL (operands[2]));
> DONE;
> })
We are missing vec_extractv2sisi or vec_extractv8qiv4qi, with -mno-mmx -mavx.
It seems we have addv2si3 available though.