mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-12 09:44:57 +08:00
locks.h (__cas_start_atomic): %g0 --> %%g0.
2003-10-28 David S. Miller <davem@redhat.com> * sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0. From-SVN: r73006
This commit is contained in:
parent
60ae021df5
commit
afa58437b8
@ -1,3 +1,7 @@
|
||||
2003-10-28 David S. Miller <davem@redhat.com>
|
||||
|
||||
* sysdep/sparc/locks.h (__cas_start_atomic): %g0 --> %%g0.
|
||||
|
||||
2003-10-26 Mark Wielaard <mark@klomp.org>
|
||||
|
||||
Reported by Helmer Kraemer <hkraemer@freenet.de>
|
||||
|
@ -54,11 +54,11 @@ __cas_start_atomic(void)
|
||||
unsigned int tmp;
|
||||
__asm__ __volatile__(
|
||||
"1: ldstub [%1], %0\n"
|
||||
" orcc %0, 0x0, %g0\n"
|
||||
" orcc %0, 0x0, %%g0\n"
|
||||
" be 3f\n"
|
||||
" nop\n"
|
||||
"2: ldub [%1], %0\n"
|
||||
" orcc %0, 0x0, %g0\n"
|
||||
" orcc %0, 0x0, %%g0\n"
|
||||
" bne 2b\n"
|
||||
" nop\n"
|
||||
"3:" : "=&r" (tmp)
|
||||
|
Loading…
Reference in New Issue
Block a user