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.
This commit is contained in:
liuhongt 2022-06-22 14:08:42 +08:00
parent 27e9bd9116
commit 7f52df186d
1 changed files with 8 additions and 4 deletions

View File

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