* [Qemu-devel] [5731] AIX's assembler does not support local labels, use relative addressing instead
@ 2008-11-18 1:42 malc
0 siblings, 0 replies; only message in thread
From: malc @ 2008-11-18 1:42 UTC (permalink / raw)
To: qemu-devel
Revision: 5731
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5731
Author: malc
Date: 2008-11-18 01:42:17 +0000 (Tue, 18 Nov 2008)
Log Message:
-----------
AIX's assembler does not support local labels, use relative addressing instead
(Laurent Vivier)
Modified Paths:
--------------
trunk/qemu-lock.h
Modified: trunk/qemu-lock.h
===================================================================
--- trunk/qemu-lock.h 2008-11-18 01:42:15 UTC (rev 5730)
+++ trunk/qemu-lock.h 2008-11-18 01:42:17 UTC (rev 5731)
@@ -63,12 +63,11 @@
{
int ret;
__asm__ __volatile__ (
- "0: lwarx %0,0,%1\n"
+ " lwarx %0,0,%1\n"
" xor. %0,%3,%0\n"
- " bne 1f\n"
+ " bne $+12\n"
" stwcx. %2,0,%1\n"
- " bne- 0b\n"
- "1: "
+ " bne- $-16\n"
: "=&r" (ret)
: "r" (p), "r" (1), "r" (0)
: "cr0", "memory");
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-18 1:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-18 1:42 [Qemu-devel] [5731] AIX's assembler does not support local labels, use relative addressing instead malc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).