gcc/ 2021-01-05 Claudiu Zissulescu <claz...@synopsys.com> * config/arc/arc.md (maddsidi4_split): Use ACC_REG_FIRST. (umaddsidi4_split): Likewise.
Signed-off-by: Claudiu Zissulescu <claz...@synopsys.com> --- gcc/config/arc/arc.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/config/arc/arc.md b/gcc/config/arc/arc.md index 3e544430167..7a52551eef5 100644 --- a/gcc/config/arc/arc.md +++ b/gcc/config/arc/arc.md @@ -6177,12 +6177,12 @@ (define_insn_and_split "maddsidi4_split" rtx acc_reg = gen_rtx_REG (DImode, ACC_REG_FIRST); emit_move_insn (acc_reg, operands[3]); if (TARGET_PLUS_MACD && even_register_operand (operands[0], DImode) - && REGNO (operands[0]) != ACCL_REGNO) + && REGNO (operands[0]) != ACC_REG_FIRST) emit_insn (gen_macd (operands[0], operands[1], operands[2])); else { emit_insn (gen_mac (operands[1], operands[2])); - if (REGNO (operands[0]) != ACCL_REGNO) + if (REGNO (operands[0]) != ACC_REG_FIRST) emit_move_insn (operands[0], acc_reg); } DONE; @@ -6279,12 +6279,12 @@ (define_insn_and_split "umaddsidi4_split" rtx acc_reg = gen_rtx_REG (DImode, ACC_REG_FIRST); emit_move_insn (acc_reg, operands[3]); if (TARGET_PLUS_MACD && even_register_operand (operands[0], DImode) - && REGNO (operands[0]) != ACCL_REGNO) + && REGNO (operands[0]) != ACC_REG_FIRST) emit_insn (gen_macdu (operands[0], operands[1], operands[2])); else { emit_insn (gen_macu (operands[1], operands[2])); - if (REGNO (operands[0]) != ACCL_REGNO) + if (REGNO (operands[0]) != ACC_REG_FIRST) emit_move_insn (operands[0], acc_reg); } DONE; -- 2.26.2