gcc/
* config/arm/arm.c (arm_no_early_mul_dep): Handle multiply-subtract.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139860
138bc75d-0d04-0410-961f-
82ee72b054a4
+2008-09-01 Paul Brook <paul@codesourcery.com>
+
+ * config/arm/arm.c (arm_no_early_mul_dep): Handle multiply-subtract.
+
2008-00-01 Jan Hubicka <jh@suse.cz>
* config/spu/spu.c (spu_expand_block_move) Update call of MOVE_RATIO.
op = XVECEXP (op, 0, 0);
op = XEXP (op, 1);
- return (GET_CODE (op) == PLUS
- && !reg_overlap_mentioned_p (value, XEXP (op, 0)));
+ if (GET_CODE (op) == PLUS || GET_CODE (op) == MINUS)
+ {
+ if (GET_CODE (XEXP (op, 0)) == MULT)
+ return !reg_overlap_mentioned_p (value, XEXP (op, 0));
+ else
+ return !reg_overlap_mentioned_p (value, XEXP (op, 1));
+ }
+
+ return 0;
}
/* We can't rely on the caller doing the proper promotion when