Commit 96ae8197 by Nick Clifton Committed by Nick Clifton

Correct test of 'remainder' and 'subtargets'.

From-SVN: r48776
parent 9b780582
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>
......
......@@ -1631,15 +1631,15 @@ arm_gen_constant (code, mode, val, target, source, subtargets, generate)
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment