aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorliuhongt <hongtao.liu@intel.com>2022-06-22 14:08:42 +0800
committerliuhongt <hongtao.liu@intel.com>2022-06-23 11:34:37 +0800
commit7f52df186de41284b9976ea461381e168da5749f (patch)
tree243112d7de4abc8ed2a303386aacfc57e221f659 /gcc
parent27e9bd911626b6ae336fc62c86da5ff710de39ab (diff)
downloadgcc-7f52df186de41284b9976ea461381e168da5749f.zip
gcc-7f52df186de41284b9976ea461381e168da5749f.tar.gz
gcc-7f52df186de41284b9976ea461381e168da5749f.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/sse.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 64ac490..8cd0f61 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)