On 2/18/25 11:12 AM, Keith Packard wrote:
Were you able to actually trigger cases where operands[3] is a CONST_INT? Again, it's not entirely clear if that can actually happen given the operand predicates on the cmpstrnsi expander.We can avoid the setpsw instructions when len is a known constant. When len is zero, the insn result is zero. When len is non-zero, the scmpu instructions will set the flags correctly.
Jeff