+2012-06-27 Richard Henderson <rth@redhat.com>
+
+ PR target/53749
+ * config/i386/i386.c (ix86_rtx_costs): Fix typo vs UNITS_PER_WORD
+ in 2012-06-23 change. Adjust two other DImode tests as well.
+
2012-06-27 Nick Clifton <nickc@redhat.com>
* config/rx/rx.md (comparesi3_extend): Remove = modifier from
}
else
*total = cost->fabs;
- return false;
}
- if (GET_MODE_SIZE (mode) < UNITS_PER_WORD)
+ else if (GET_MODE_SIZE (mode) > UNITS_PER_WORD)
{
if (CONST_INT_P (XEXP (x, 1)))
{
case AND:
case IOR:
case XOR:
- if (!TARGET_64BIT && mode == DImode)
+ if (GET_MODE_SIZE (mode) > UNITS_PER_WORD)
{
*total = (cost->add * 2
+ (rtx_cost (XEXP (x, 0), outer_code, opno, speed)
/* At least for published AMD latencies, this really is the same
as the latency for a simple fpu operation like fabs. */
*total = cost->fabs;
- return false;
}
- if (!TARGET_64BIT && mode == DImode)
+ else if (GET_MODE_SIZE (mode) > UNITS_PER_WORD)
*total = cost->add * 2;
else
*total = cost->add;