Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / boost / boost.mipsbackport.patch
blob085d2324db73bacf4adbb9cdde9742e6cbec034e
1 --- misc/boost_1_44_0/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp 2009-03-27 13:10:46.000000000 +0000
2 +++ misc/build/boost_1_44_0/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp 2011-11-07 14:25:23.000000000 +0000
3 @@ -37,9 +37,12 @@
4 __asm__ __volatile__
6 "0:\n\t"
7 + ".set push\n\t"
8 + ".set mips2\n\t"
9 "ll %0, %1\n\t"
10 "addiu %0, 1\n\t"
11 "sc %0, %1\n\t"
12 + ".set pop\n\t"
13 "beqz %0, 0b":
14 "=&r"( tmp ), "=m"( *pw ):
15 "m"( *pw )
16 @@ -55,9 +58,12 @@
17 __asm__ __volatile__
19 "0:\n\t"
20 + ".set push\n\t"
21 + ".set mips2\n\t"
22 "ll %1, %2\n\t"
23 "addiu %0, %1, -1\n\t"
24 "sc %0, %2\n\t"
25 + ".set pop\n\t"
26 "beqz %0, 0b\n\t"
27 "addiu %0, %1, -1":
28 "=&r"( rv ), "=&r"( tmp ), "=m"( *pw ):
29 @@ -78,10 +84,13 @@
30 __asm__ __volatile__
32 "0:\n\t"
33 + ".set push\n\t"
34 + ".set mips2\n\t"
35 "ll %0, %2\n\t"
36 "beqz %0, 1f\n\t"
37 "addiu %1, %0, 1\n\t"
38 "sc %1, %2\n\t"
39 + ".set pop\n\t"
40 "beqz %1, 0b\n\t"
41 "addiu %0, %0, 1\n\t"
42 "1:":