From 7f52df186de41284b9976ea461381e168da5749f Mon Sep 17 00:00:00 2001 From: liuhongt Date: Wed, 22 Jun 2022 14:08:42 +0800 Subject: 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. --- gcc/config/i386/sse.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'gcc') 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) -- cgit v1.1