Blame 0018-Minor-fix-of-code-alignment-in-mips-AO_compare_and_s.patch
|
Rex Dieter |
18acc02 |
From 22ca163649571c72852f5892c05a4c1c53d50cc5 Mon Sep 17 00:00:00 2001
|
|
Rex Dieter |
18acc02 |
From: James Cowgill <james410@cowgill.org.uk>
|
|
Rex Dieter |
18acc02 |
Date: Thu, 8 Jan 2015 16:14:22 +0000
|
|
Rex Dieter |
18acc02 |
Subject: [PATCH 18/36] Minor fix of code alignment in mips AO_compare_and_swap
|
|
Rex Dieter |
18acc02 |
|
|
Rex Dieter |
18acc02 |
---
|
|
Rex Dieter |
18acc02 |
src/atomic_ops/sysdeps/gcc/mips.h | 2 +-
|
|
Rex Dieter |
18acc02 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Rex Dieter |
18acc02 |
|
|
Rex Dieter |
18acc02 |
diff --git a/src/atomic_ops/sysdeps/gcc/mips.h b/src/atomic_ops/sysdeps/gcc/mips.h
|
|
Rex Dieter |
18acc02 |
index f3796ea..1ad47f2 100644
|
|
Rex Dieter |
18acc02 |
--- a/src/atomic_ops/sysdeps/gcc/mips.h
|
|
Rex Dieter |
18acc02 |
+++ b/src/atomic_ops/sysdeps/gcc/mips.h
|
|
Rex Dieter |
18acc02 |
@@ -127,7 +127,7 @@ AO_test_and_set(volatile AO_TS_t *addr)
|
|
Rex Dieter |
18acc02 |
"1: "
|
|
Rex Dieter |
18acc02 |
AO_MIPS_LL("%0, %1")
|
|
Rex Dieter |
18acc02 |
" bne %0, %4, 2f \n"
|
|
Rex Dieter |
18acc02 |
- " move %0, %3 \n"
|
|
Rex Dieter |
18acc02 |
+ " move %0, %3 \n"
|
|
Rex Dieter |
18acc02 |
AO_MIPS_SC("%0, %1")
|
|
Rex Dieter |
18acc02 |
" .set pop \n"
|
|
Rex Dieter |
18acc02 |
" beqz %0, 1b \n"
|
|
Rex Dieter |
18acc02 |
--
|
|
Rex Dieter |
18acc02 |
1.9.3
|
|
Rex Dieter |
18acc02 |
|