+2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
+ and 'subtargets'.
+
2002-01-11 Andreas Jaeger <aj@suse.de>,
Brad Lucier <lucier@math.purdue.edu>
if (code == SET || code == MINUS)
{
new_src = (subtargets ? gen_reg_rtx (mode) : target);
- if (can_invert)
+ if (can_invert && code != MINUS)
temp1 = ~temp1;
}
else
{
- if (remainder || !subtargets)
- new_src = target;
- else
+ if (remainder && subtargets)
new_src = gen_reg_rtx (mode);
+ else
+ new_src = target;
if (can_invert)
temp1 = ~temp1;
else if (can_negate)