+2008-06-11 Edmar Wienskoski <edmar@freescale.com>
+
+ PR target/36425
+ * config/rs6000/rs6000.c (rs6000_override_options): Set
+ rs6000_isel conditionally to the absence of comand line
+ override.
+ * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS):
+ Remove duplicate rs6000_isel setting.
+ * config/rs6000/eabispe.h: Ditto.
+
2008-06-11 Richard Guenther <rguenther@suse.de>
* alias.c (get_alias_set): Use the element alias-set for arrays.
rs6000_float_gprs = 1; \
if (!rs6000_explicit_options.spe) \
rs6000_spe = 1; \
- if (!rs6000_explicit_options.isel) \
- rs6000_isel = 1; \
if (target_flags & MASK_64BIT) \
error ("-m64 not supported in this configuration")
rs6000_float_gprs = 1; \
if (!rs6000_explicit_options.spe) \
rs6000_spe = 1; \
- if (!rs6000_explicit_options.isel) \
- rs6000_isel = 1; \
if (target_flags & MASK_64BIT) \
error ("-m64 not supported in this configuration")
}
}
- if (TARGET_E500)
+ if (TARGET_E500 && !rs6000_explicit_options.isel)
rs6000_isel = 1;
if (rs6000_cpu == PROCESSOR_PPCE300C2 || rs6000_cpu == PROCESSOR_PPCE300C3)
+2008-06-11 Edmar Wienskoski <edmar@freescale.com>
+
+ PR target/36425
+ * gcc.target/powerpc/e500-1.c: New test case to verify
+ mno-isel option.
+
2008-06-11 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/specs/varsize_copy.ad[sb]: New test.
--- /dev/null
+/* Test functioning of command option -mno-isel */
+/* { dg-do compile { target powerpc*-*-linux* } } */
+/* { dg-options "-O2 -mno-isel" } */
+
+/* { dg-final { scan-assembler-not "isel" } } */
+
+int
+foo (int x, int y)
+{
+ if (x < y)
+ return x;
+ else
+ return y;
+}