https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80175
Bug ID: 80175 Summary: rs6000 target should have a strlensi pattern that works for recent powerpc processors Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: acsawdey at gcc dot gnu.org Reporter: acsawdey at gcc dot gnu.org CC: wschmidt at gcc dot gnu.org Target Milestone: --- Target: powerpc64*-*-* The existing define_expand for strlensi uses dlmzb which is only on the 405/440/464/476 processors. It would be nice to generate a reasonable inline sequence to do strlen on recent processors, maybe power7 and up.