From c6718f01c20779da00689b3ef66ede7af5fe8ce5 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 12 Aug 2014 09:47:41 -0700 Subject: Correct the SYNC hint for the release barrier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The MIPS32 manual I have says 0x11 is SYNC_ACQUIRE and 0x12 is SYNC_RELEASE. The change was an unintentional mistake in commit 60b6b28c213a420ee40e254ff1823876098e0a04. Thanks to Spencer Schumann for spotting this. Change-Id: I16885e4e86e8befa8931733d0b5a54ac9942f176 Reviewed-by: Spencer Schumann Reviewed-by: Olivier Goffart Reviewed-by: Lisandro Damián Nicanor Pérez Meyer --- src/corelib/arch/qatomic_mips.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/arch') diff --git a/src/corelib/arch/qatomic_mips.h b/src/corelib/arch/qatomic_mips.h index 7bfe16a450..33e7053234 100644 --- a/src/corelib/arch/qatomic_mips.h +++ b/src/corelib/arch/qatomic_mips.h @@ -121,7 +121,7 @@ void QBasicAtomicOps::releaseMemoryFence(const T &) Q_DECL_NOTHROW { asm volatile (".set push\n" ".set mips32\n" - "sync 0x11\n" + "sync 0x12\n" ".set pop\n" ::: "memory"); } -- cgit v1.2.3