public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/50214] New: strmov/strset should use :P
@ 2011-08-27 20:30 hjl.tools at gmail dot com
  2021-08-06  0:05 ` [Bug target/50214] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: hjl.tools at gmail dot com @ 2011-08-27 20:30 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: hjl.tools@gmail.com
                CC: ubizjak@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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug target/50214] strmov/strset should use :P
  2011-08-27 20:30 [Bug target/50214] New: strmov/strset should use :P hjl.tools at gmail dot com
@ 2021-08-06  0:05 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-06  0:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The problem is you cann't use :P unless you have a templated pattern which
strmov/strset are.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-06  0:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-27 20:30 [Bug target/50214] New: strmov/strset should use :P hjl.tools at gmail dot com
2021-08-06  0:05 ` [Bug target/50214] " pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).