public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* (no subject)
@ 2021-05-16 14:25 Joern Rennecke
  2021-05-27 12:11 ` none Richard Sandiford
  0 siblings, 1 reply; 33+ messages in thread
From: Joern Rennecke @ 2021-05-16 14:25 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 355 bytes --]

At the moment, for a match_dup in a define_cond_exec, you'd have to
give the number in the
resulting pattern(s) rather than in the substitute pattern.  That's
not only wrong, but can also
be impossible when the pattern should apply to multiple patterns with
different operand numbers.

The attached patch fixes this.

Bootstrapped on x86_64-pc-linux-gnu.

[-- Attachment #2: define_cond_exec_patch.txt --]
[-- Type: text/plain, Size: 527 bytes --]

2020-12-12  Joern Rennecke  <joern.rennecke@embecosm.com>

	Fix match_dup bug of define_cond_exec.
	* gensupport.c (alter_predicate_for_insn): Handle MATCH_DUP.

diff --git a/gcc/gensupport.c b/gcc/gensupport.c
index e1ca06dbc1e..92275358078 100644
--- a/gcc/gensupport.c
+++ b/gcc/gensupport.c
@@ -1230,6 +1230,7 @@ alter_predicate_for_insn (rtx pattern, int alt, int max_op,
     case MATCH_OPERATOR:
     case MATCH_SCRATCH:
     case MATCH_PARALLEL:
+    case MATCH_DUP:
       XINT (pattern, 0) += max_op;
       break;
 

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: none
@ 2007-03-12 18:36 Gabriel Dos Reis
  0 siblings, 0 replies; 33+ messages in thread
From: Gabriel Dos Reis @ 2007-03-12 18:36 UTC (permalink / raw)
  To: Doug Gregor; +Cc: gcc, gcc-patches

"Doug Gregor" <doug.gregor@gmail.com> writes:

Am I the only one to receive Doug's recent messages with empty body?

-- Gaby

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: C++ PATCH: Tree dumper
@ 2001-12-03 12:55 Gerald Pfeifer
  2002-01-01 18:42 ` none Alexandre Oliva
  0 siblings, 1 reply; 33+ messages in thread
From: Gerald Pfeifer @ 2001-12-03 12:55 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: Geoff Keating, gcc-patches

On 2 Dec 2001, Alexandre Oliva wrote:
>> (For the web pages also MIME attachments are fine with me.)
> I'd rather go with a uniform set of rules.  Would you *prefer* to get
> patches as MIME attachments, or are the guidelines below ok with you?

I'm pragmatic, so let's go with a uniform set of rules. ;-)

> Ok to install?

Could we have two sentences, as in "This and this and this is fine.
This and this and this is not fine" instead of "This is fine  (while
this is not fine) and this is fine (while this is not fine)"?

I believe it's easier to read and understand what we want that way
-- and the patch is fine with this change.

> ! Avoid MIME large-message splitting (<code>message/partial</code> at
> ! all costs.</p>

I have not seen message/partial in the wild yet, so I think we could
omit this, but if you tell me that you worry about it, I will believe
you. :-)

Thanks,
Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/

^ permalink raw reply	[flat|nested] 33+ messages in thread
[parent not found: <200101311557.f0VFvCR04089@debye.wins.uva.nl>]
[parent not found: <200009061836.LAA10595@elmo.cygnus.com>]

end of thread, other threads:[~2021-05-27 12:11 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <32646.1010169056@porcupine.cygnus.com>
2002-01-04 10:42 ` none Andreas Jaeger
2002-01-04 10:49   ` http://gcc.gnu.org/ml/gcc-patches/2001-12/msg01658.html H . J . Lu
2002-01-04 10:52   ` none law
2002-01-04 13:56     ` none Jan Hubicka
2002-01-04 10:44 ` your mail H . J . Lu
2002-01-04 12:06 ` Bad jump threading change H . J . Lu
2002-01-04 13:16   ` Jan Hubicka
2002-01-04 13:36     ` H . J . Lu
2002-01-04 13:52       ` Jan Hubicka
2002-01-05  6:28       ` Jan Hubicka
2002-01-05  9:39         ` H . J . Lu
2002-01-04 13:44   ` Jan Hubicka
2002-01-04 15:09     ` Richard Henderson
2002-01-04 16:33   ` Jump threading fix Jan Hubicka
2002-01-04 18:21   ` Jump threading fix II Jan Hubicka
2002-01-05  2:03     ` H . J . Lu
2002-01-05  3:09       ` Jan Hubicka
2002-01-05 23:39         ` Robert Lipe
2002-01-05 10:50     ` H . J . Lu
2002-01-06  0:30       ` H . J . Lu
2002-01-06  0:56         ` Eric Christopher
2002-01-06  9:34           ` H . J . Lu
2002-01-06 11:02       ` Jan Hubicka
2002-01-06 11:10         ` H . J . Lu
2002-01-06 11:14           ` Jan Hubicka
2002-01-06 20:40             ` H . J . Lu
2021-05-16 14:25 Joern Rennecke
2021-05-27 12:11 ` none Richard Sandiford
  -- strict thread matches above, loose matches on Subject: below --
2007-03-12 18:36 none Gabriel Dos Reis
2001-12-03 12:55 C++ PATCH: Tree dumper Gerald Pfeifer
2002-01-01 18:42 ` none Alexandre Oliva
     [not found] <200101311557.f0VFvCR04089@debye.wins.uva.nl>
2001-01-31 19:41 ` none Gabriel Dos Reis
2001-01-31 19:57   ` none Daniel Berlin
     [not found] <200009061836.LAA10595@elmo.cygnus.com>
2000-09-06 11:46 ` none Alexandre Oliva
2000-09-06 11:55   ` none Alexandre Oliva

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).