[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Assert problem with QT4.3 on powerpc.
From: Dirk Mueller <mueller () kde ! org>
Date: 2007-04-03 13:45:01
Message-ID: 200704031545.01258.mueller () kde ! org
[Download RAW message or body]
On Monday, 2. April 2007, Frode M. Døving wrote:
> That patch works for me.
Could you try the one below instead?
Thanks,
Dirk
["atomic.diff" (text/x-diff)]
--- qatomic_powerpc.h.orig 2007-04-03 15:07:36.000000000 +0200
+++ qatomic_powerpc.h 2007-04-03 15:08:34.000000000 +0200
@@ -145,7 +145,7 @@
{
register int ret;
asm volatile("lwarx %0, 0, %2\n"
- "stwcx. %2, 0, %2\n"
+ "stwcx. %3, 0, %2\n"
"bne- $-8\n"
: "=&r" (ret), "=m" (*ptr)
: "r" (ptr), "r" (newval)
@@ -157,7 +157,7 @@
{
register void *ret;
asm volatile(LPARX" %0, 0, %2\n"
- STPCX" %2, 0, %2\n"
+ STPCX" %3, 0, %2\n"
"bne- $-8\n"
: "=&r" (ret), "=m" (*reinterpret_cast<volatile long *>(ptr))
: "r" (ptr), "r" (newval)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic