Overview
Comment: | Fix x86(_64) asm for of_atomic_{add,sub,inc,dec}_32. of_atomic_{or,and,xor}_32 to follow. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
6ea2424dad914532ae8b0edf18bbcb4a |
User & Date: | js on 2010-10-05 19:31:37 |
Other Links: | manifest | tags |
Context
2010-10-05
| ||
19:36 | Small fix in tests' Makefile. check-in: b04c382563 user: js tags: trunk | |
19:31 |
Fix x86(_64) asm for of_atomic_{add,sub,inc,dec}_32. of_atomic_{or,and,xor}_32 to follow. check-in: 6ea2424dad user: js tags: trunk | |
2010-09-26
| ||
14:40 | Add -[stringByXMLUnescapingWithBlock:]. check-in: 76903ee63f user: js tags: trunk | |
Changes
Modified src/atomic.h from [527e2eb067] to [842f2e4fa9].
︙ | |||
22 23 24 25 26 27 28 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 | - - + + - - - + + + + - + - - + + + - - - + + + + - + - - + + + + + + - - - + + + + - + - - + + + + + + - - - + + + + - + | static OF_INLINE int32_t of_atomic_add_32(volatile int32_t *p, int32_t i) { #if !defined(OF_THREADS) return (*p += i); #elif defined(OF_X86_ASM) || defined(OF_AMD64_ASM) |
︙ | |||
175 176 177 178 179 180 181 | 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | - + | *p = n; return YES; } return NO; #elif defined(OF_X86_ASM) || defined(OF_AMD64_ASM) uint32_t r; |
︙ | |||
204 205 206 207 208 209 210 | 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 | - + | *p = n; return YES; } return NO; #elif defined(OF_X86_ASM) || defined(OF_AMD64_ASM) uint32_t r; |
︙ |