* gcc.dg/darwin-longlong.c: Only use r0 in asm for darwin.
* gcc.dg/cpp/assert4.c: Handle powerpc64.
From-SVN: r77578
2004-02-10 Alan Modra <amodra@bigpond.net.au>
+ * gcc.dg/darwin-longlong.c: Only use r0 in asm for darwin.
+ * gcc.dg/cpp/assert4.c: Handle powerpc64.
+
* gcc.dg/debug/20020327-1.c: xfail for powerpc64.
2004-02-09 Roger Sayle <roger@eyesopen.com>
#endif
#if defined __powerpc__
-# if !#cpu(powerpc) || !#machine(powerpc)
-# error
-# endif
-#elif #cpu(powerpc) || #machine(powerpc)
+# if defined __powerpc64__
+# if (#cpu(powerpc) || #machine(powerpc) \
+ || !#cpu(powerpc64) || !#machine(powerpc64))
+# error
+# else
+# if (!#cpu(powerpc) || !#machine(powerpc) \
+ || #cpu(powerpc64) || #machine(powerpc64))
+# error
+# endif
+# endif
+#elif (#cpu(powerpc) || #machine(powerpc) \
+ || #cpu(powerpc64) || #machine(powerpc64))
# error
#endif
/* Exit on systems without 64bit instructions. */
signal (SIGILL, sig_ill_handler);
+#ifdef __MACH__
asm volatile ("extsw r0,r0");
+#else
+ asm volatile ("extsw 0,0");
+#endif
signal (SIGILL, SIG_DFL);
if (msw(1) != 0)