Uros Bizjak <ubiz...@gmail.com> 于2025年1月17日周五 15:05写道:

> Is there a reason to have operand 0 with "nonimmediate_operand"
> predicate? If you have to generate a register temporary and then
> unconditionally copy it to the output, it is better to use
> "register_operand" predicate and leave middle end to do the copy for
> you. Please see the patch at comment #3 in the PR.

Ah, thanks for pointing that out, yes the memory dest is meaningless here.

Updated patch in attachment.

Ok for trunk after bootstrap & regtest?

Attachment: 0001-i386-Fix-wrong-insn-generated-by-shld-shrd-ndd-split.patch
Description: Binary data

Reply via email to