https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65368
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- For zero_extract RTL we require that the POS and LEN arguments are in the right ranges, while bextr allows any values, and either uses 0 for bits outside of the original operand and for LEN uses umin (len, <bitsize>).