This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: testsuite tweaks for powerpc64
On Feb 9, 2004, at 1:48 PM, Alan Modra wrote:
On Mon, Feb 09, 2004 at 10:02:19AM -0800, Dale Johannesen wrote:
On Feb 9, 2004, at 4:56 AM, Alan Modra wrote
This is wrong (assuming the test is Darwin-specific as its name
suggests).
http://gcc.gnu.org/ml/gcc-patches/2004-02/msg00122.html
The -mregnames option doesn't exist on Darwin.
How about using
asm volatile ("extsw %r0,%r0");
instead?
No, the darwin assembler won't take that either.
This works for me, how about you?
#ifdef __APPLE__
asm volatile ("extsw r0,r0");
#else
asm volatile ("extsw 0,0");
#endif