https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92140
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The patch adds 144 define_insn and 144 define_split to tmp-mddump.md though, to total 6217 define_insn and 733 define_split. Maybe a better way to deal with it would be to have x86_ne_0_operator and x86_eq_0_operator with a mode-less operand inside of it, where the predicate would ensure the mode of the operand is QI/HI/SI/DI (last one only if TARGET_64BIT) in addition checking it is a ne (resp. eq). Unfortunately there is the problem with the constraints, where !TARGET_64BIT requires q constraint instead of r for the comparison operand, maybe use for that enabled attribute?