public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1212] Replace REGNO with reg_or_subregno in pre_reload splitter.
@ 2022-06-23  3:35 hongtao Liu
  0 siblings, 0 replies; only message in thread
From: hongtao Liu @ 2022-06-23  3:35 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:7f52df186de41284b9976ea461381e168da5749f

commit r13-1212-g7f52df186de41284b9976ea461381e168da5749f
Author: liuhongt <hongtao.liu@intel.com>
Date:   Wed Jun 22 14:08:42 2022 +0800

    Replace REGNO with reg_or_subregno in pre_reload splitter.
    
    gcc/ChangeLog:
    
            * config/i386/sse.md:(sse4_2_pcmpestr): Replace REGNO with
            reg_or_subregno.
            (sse4_2_pcmpistr): Ditto.

Diff:
---
 gcc/config/i386/sse.md | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 64ac490d272..8cd0f617bf3 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -23250,8 +23250,10 @@
   "&& 1"
   [(const_int 0)]
 {
-  int ecx = !find_regno_note (curr_insn, REG_UNUSED, REGNO (operands[0]));
-  int xmm0 = !find_regno_note (curr_insn, REG_UNUSED, REGNO (operands[1]));
+  int ecx = !find_regno_note (curr_insn, REG_UNUSED,
+			      reg_or_subregno (operands[0]));
+  int xmm0 = !find_regno_note (curr_insn, REG_UNUSED,
+			       reg_or_subregno (operands[1]));
   int flags = !find_regno_note (curr_insn, REG_UNUSED, FLAGS_REG);
 
   if (ecx)
@@ -23386,8 +23388,10 @@
   "&& 1"
   [(const_int 0)]
 {
-  int ecx = !find_regno_note (curr_insn, REG_UNUSED, REGNO (operands[0]));
-  int xmm0 = !find_regno_note (curr_insn, REG_UNUSED, REGNO (operands[1]));
+  int ecx = !find_regno_note (curr_insn, REG_UNUSED,
+			      reg_or_subregno (operands[0]));
+  int xmm0 = !find_regno_note (curr_insn, REG_UNUSED,
+			       reg_or_subregno (operands[1]));
   int flags = !find_regno_note (curr_insn, REG_UNUSED, FLAGS_REG);
 
   if (ecx)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-23  3:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-23  3:35 [gcc r13-1212] Replace REGNO with reg_or_subregno in pre_reload splitter hongtao Liu

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