public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Segher Boessenkool <segher@kernel.crashing.org>
To: gcc-patches@gcc.gnu.org
Cc: Segher Boessenkool <segher@kernel.crashing.org>,	hp@axis.com
Subject: [PATCH 2/6] cris: Fix for RTL checking
Date: Tue, 21 Feb 2017 14:48:00 -0000	[thread overview]
Message-ID: <e119c10bc54ff00b202b8a8b06ae1eeb934e269e.1487685472.git.segher@kernel.crashing.org> (raw)
In-Reply-To: <cover.1487685472.git.segher@kernel.crashing.org>
In-Reply-To: <cover.1487685472.git.segher@kernel.crashing.org>

2017-02-21  Segher Boessenkool  <segher@kernel.crashing.org>

	* config/cris/cris.md: Use correct operand in a define_peephole2.

---
 gcc/config/cris/cris.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/cris/cris.md b/gcc/config/cris/cris.md
index 6ba3772..472aec7 100644
--- a/gcc/config/cris/cris.md
+++ b/gcc/config/cris/cris.md
@@ -5034,7 +5034,7 @@ (define_peephole2 ; andqu (casesi+46)
   [(set (match_dup 0) (match_dup 3))
    (set (match_dup 0) (and:SI (match_dup 0) (match_dup 4)))]
 {
-  machine_mode zmode = INTVAL (operands[2]) <= 255 ? QImode : HImode;
+  machine_mode zmode = INTVAL (operands[1]) <= 255 ? QImode : HImode;
   rtx op1
     = (REG_S_P (operands[2])
        ? gen_rtx_REG (zmode, REGNO (operands[2]))
-- 
1.9.3

  reply	other threads:[~2017-02-21 14:48 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-21 14:48 [PATCH 0/6] Fallout from " Segher Boessenkool
2017-02-21 14:48 ` Segher Boessenkool [this message]
2017-02-21 15:03   ` [PATCH 2/6] cris: Fix for " Hans-Peter Nilsson
2017-02-21 14:49 ` [PATCH 4/6] nios2: Fixes " Segher Boessenkool
2017-02-21 19:33   ` Jeff Law
2017-02-21 19:53   ` Sandra Loosemore
2017-02-24 22:45     ` Sandra Loosemore
2017-02-21 14:49 ` [PATCH 1/6] c6x: Fix " Segher Boessenkool
2017-02-21 15:09   ` Bernd Schmidt
2017-02-21 14:49 ` [PATCH 6/6] sh: Fixes " Segher Boessenkool
2017-02-21 15:49   ` Oleg Endo
2017-02-21 16:32     ` Segher Boessenkool
2017-02-21 14:49 ` [PATCH 3/6] microblaze: " Segher Boessenkool
2017-02-21 19:28   ` Jeff Law
2017-02-21 20:11   ` Michael Eager
2017-02-21 20:33     ` Segher Boessenkool
2017-02-21 21:07       ` Michael Eager
2017-02-24 23:12         ` Segher Boessenkool
2017-02-21 20:19   ` Jakub Jelinek
2017-02-21 20:37     ` Michael Eager
2017-02-21 20:41       ` Jakub Jelinek
2017-02-21 21:23       ` Segher Boessenkool
2017-02-21 15:01 ` [PATCH 5/6] pa: " Segher Boessenkool
2017-02-21 19:12   ` Jeff Law
2017-02-21 15:16 ` [PATCH] arc: " Segher Boessenkool
2017-02-21 19:27   ` Jeff Law
2017-02-24 19:20   ` Claudiu Zissulescu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e119c10bc54ff00b202b8a8b06ae1eeb934e269e.1487685472.git.segher@kernel.crashing.org \
    --to=segher@kernel.crashing.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hp@axis.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).