+2017-11-15 Michael Meissner <meissner@linux.vnet.ibm.com>
+
+ * config/rs6000/rs6000.c (rs6000_expand_builtin): Do not do the
+ switch statement mapping KF built-ins to TF built-ins if we don't
+ have the proper ISA 3.0 assembler support.
+
2017-11-16 Jan Hubicka <hubicka@ucw.cz>
* tree-emutls.c (lower_emutls_data): Remove unused bb_freq.
double (KFmode) or long double is IEEE 128-bit (TFmode). It is simpler if
we only define one variant of the built-in function, and switch the code
when defining it, rather than defining two built-ins and using the
- overload table in rs6000-c.c to switch between the two. */
+ overload table in rs6000-c.c to switch between the two. If we don't have
+ the proper assembler, don't do this switch because CODE_FOR_*kf* and
+ CODE_FOR_*tf* will be CODE_FOR_nothing. */
+#ifdef HAVE_AS_POWER9
if (FLOAT128_IEEE_P (TFmode))
switch (icode)
{
case CODE_FOR_xsiexpqpf_kf: icode = CODE_FOR_xsiexpqpf_tf; break;
case CODE_FOR_xststdcqp_kf: icode = CODE_FOR_xststdcqp_tf; break;
}
+#endif
if (TARGET_DEBUG_BUILTIN)
{
+2017-11-15 Michael Meissner <meissner@linux.vnet.ibm.com>
+
+ * gcc.target/powerpc/bfp/bfp.exp: Look for *.c files, not *.c*
+ files to prevent ~ files from getting recognized.
+ * gcc.target/powerpc/dfp/dfp.exp: Likewise.
+ * gcc.target/powerpc/vsu/vsu.exp: Likewise.
+
2017-11-16 Henry Linjamäki <henry.linjamaki@parmance.com>
* brig.dg/test/gimple/vector.hsail: Update for HSA registers' tree
# Initialize.
dg-init
-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.c*]] "" $DEFAULT_CFLAGS
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.c]] "" $DEFAULT_CFLAGS
# All done.
dg-finish
# Initialize.
dg-init
-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.c*]] "" $DEFAULT_CFLAGS
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.c]] "" $DEFAULT_CFLAGS
# All done.
dg-finish
# Initialize.
dg-init
-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.c*]] "" $DEFAULT_CFLAGS
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.c]] "" $DEFAULT_CFLAGS
# All done.
dg-finish