http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50214

             Bug #: 50214
           Summary: strmov/strset should use :P
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: hjl.to...@gmail.com
                CC: ubiz...@gmail.com
            Target: i?86-*-* x86_64-*-*


strmov/strset in i386.md have comments like:

  /* If .md ever supports :P for Pmode, these can be directly
     in the pattern above.  */

There is

;; This mode iterator allows :P to be used for patterns that operate on
;; pointer-sized quantities.  Exactly one of the two alternatives will match.
(define_mode_iterator P [(SI "Pmode == SImode") (DI "Pmode == DImode")])

Shouldn't they use :P now.

Reply via email to