https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104445
--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Richard Biener from comment #6) > We are missing vec_extractv2sisi or vec_extractv8qiv4qi, with -mno-mmx -mavx. > It seems we have addv2si3 available though. vec_extractv2sisi is available in mmx.md even with -mno-mmx: (define_expand "vec_extractv2sisi" [(match_operand:SI 0 "register_operand") (match_operand:V2SI 1 "register_operand") (match_operand 2 "const_int_operand")] "TARGET_MMX || TARGET_MMX_WITH_SSE" { ix86_expand_vector_extract (TARGET_MMX_WITH_SSE, operands[0], operands[1], INTVAL (operands[2])); DONE; })