different for trunk as well? Please clarify. Thanks.
-Nathan
PR target/44606
* reload.c (find_equiv_reg): Delete code that attempts to find
equivalences from CONST_DOUBLEs.
===================================================================
@@ -6838,33 +6838,9 @@ find_equiv_reg (rtx goal, rtx insn, enum
into a reg, we can use that reg. */
|| (goal_const && REG_NOTES (p) != 0
&& (tem = find_reg_note (p, REG_EQUIV, NULL_RTX))
- && ((rtx_equal_p (XEXP (tem, 0), goal)
- && (valueno
- = true_regnum (valtry = SET_DEST (pat))) >= 0)
- || (REG_P (SET_DEST (pat))
- && GET_CODE (XEXP (tem, 0)) == CONST_DOUBLE
- && SCALAR_FLOAT_MODE_P (GET_MODE (XEXP (tem, 0)))
- && CONST_INT_P (goal)
- && 0 != (goaltry
- = operand_subword (XEXP (tem, 0), 0, 0,
- VOIDmode))
- && rtx_equal_p (goal, goaltry)
- && (valtry
- = operand_subword (SET_DEST (pat), 0, 0,
- VOIDmode))
- && (valueno = true_regnum (valtry)) >= 0)))
- || (goal_const && (tem = find_reg_note (p, REG_EQUIV,
- NULL_RTX))
- && REG_P (SET_DEST (pat))
- && GET_CODE (XEXP (tem, 0)) == CONST_DOUBLE
- && SCALAR_FLOAT_MODE_P (GET_MODE (XEXP (tem, 0)))
- && CONST_INT_P (goal)
- && 0 != (goaltry = operand_subword (XEXP (tem, 0), 1, 0,
- VOIDmode))
- && rtx_equal_p (goal, goaltry)
- && (valtry
- = operand_subword (SET_DEST (pat), 1, 0, VOIDmode))
- && (valueno = true_regnum (valtry)) >= 0)))
+ && (rtx_equal_p (XEXP (tem, 0), goal)
+ && (valueno
+ = true_regnum (valtry = SET_DEST (pat))) >= 0))))
{
if (other >= 0)
{