+2007-10-31 Andreas Krebbel <krebbel1@de.ibm.com>
+
+ * config/rs6000/rs6000.opt: Rename -mdfp option to -mhard-dfp.
+
+ * config/s390/s390.c: (override_options): Replace -mhard-dfp/-msoft-dfp
+ with -mhard-dfp/-mno-hard-dfp.
+ * config/s390/s390.opt: Likewise.
+ * config/s390/s390.h: Add MASK_HARD_DFP to the TARGET_DEFAULT
+ definition.
+
2007-10-30 Janis Johnson <janis187@us.ibm.com>
* tree-ssa.c (execute_update_addresses_taken): Initialize update_vops.
Target Report Mask(ALTIVEC)
Use AltiVec instructions
-mdfp
+mhard-dfp
Target Report Mask(DFP)
Use decimal floating point instructions
if (TARGET_64BIT && !TARGET_ZARCH)
error ("64-bit ABI not supported in ESA/390 mode");
- if (TARGET_HARD_DFP && (!TARGET_CPU_DFP || !TARGET_ZARCH))
+ if (TARGET_HARD_DFP && !TARGET_DFP)
{
- if (target_flags_explicit & MASK_SOFT_DFP)
+ if (target_flags_explicit & MASK_HARD_DFP)
{
if (!TARGET_CPU_DFP)
error ("Hardware decimal floating point instructions"
" not available in ESA/390 mode");
}
else
- target_flags |= MASK_SOFT_DFP;
+ target_flags &= ~MASK_HARD_DFP;
}
if ((target_flags_explicit & MASK_SOFT_FLOAT) && TARGET_SOFT_FLOAT)
{
- if ((target_flags_explicit & MASK_SOFT_DFP) && TARGET_HARD_DFP)
+ if ((target_flags_explicit & MASK_HARD_DFP) && TARGET_HARD_DFP)
error ("-mhard-dfp can't be used in conjunction with -msoft-float");
- target_flags |= MASK_SOFT_DFP;
+ target_flags &= ~MASK_HARD_DFP;
}
/* Set processor cost function. */
while (0)
#ifdef DEFAULT_TARGET_64BIT
-#define TARGET_DEFAULT (MASK_64BIT | MASK_ZARCH)
+#define TARGET_DEFAULT (MASK_64BIT | MASK_ZARCH | MASK_HARD_DFP)
#else
#define TARGET_DEFAULT 0
#endif
Enable fused multiply/add instructions
mhard-dfp
-Target Report RejectNegative InverseMask(SOFT_DFP, HARD_DFP)
-Enable hardware decimal floating point
+Target Report Mask(HARD_DFP)
+Enable decimal floating point hardware support
mhard-float
Target Report RejectNegative InverseMask(SOFT_FLOAT, HARD_FLOAT)
Target Report Mask(SMALL_EXEC)
Use bras for executable < 64k
-msoft-dfp
-Target Report RejectNegative Mask(SOFT_DFP)
-Disable hardware decimal floating point
-
msoft-float
Target Report RejectNegative Mask(SOFT_FLOAT)
Disable hardware floating point