parent
b7ac21e358
commit
51b003476e
|
@ -3404,6 +3404,11 @@ simplify_binary_operation (code, mode, op0, op1)
|
|||
return plus_constant (op0, INTVAL (op1));
|
||||
else if (GET_CODE (op0) == CONST_INT)
|
||||
return plus_constant (op1, INTVAL (op0));
|
||||
else
|
||||
break;
|
||||
#if 0 /* No good, because this can produce the sum of two relocatable
|
||||
symbols, in an assembler instruction. Most UNIX assemblers can't
|
||||
handle that. */
|
||||
else
|
||||
return gen_rtx (CONST, mode,
|
||||
gen_rtx (PLUS, mode,
|
||||
|
@ -3411,6 +3416,7 @@ simplify_binary_operation (code, mode, op0, op1)
|
|||
? XEXP (op0, 0) : op0,
|
||||
GET_CODE (op1) == CONST
|
||||
? XEXP (op1, 0) : op1));
|
||||
#endif
|
||||
}
|
||||
else if (GET_CODE (op1) == CONST_INT
|
||||
&& GET_CODE (op0) == PLUS
|
||||
|
|
Loading…
Reference in New Issue