Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_gcc_atomic_amd64.h @ 1007:f1ebccfd95f9
use "r" instead of "q"
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 11 Jan 2007 16:00:02 +0000 |
parents | 3f8a2132b93d |
children | ee5f21acea76 |
comparison
equal
deleted
inserted
replaced
1006:0d0c74b73573 | 1007:f1ebccfd95f9 |
---|---|
66 __asm__ volatile ( | 66 __asm__ volatile ( |
67 | 67 |
68 NGX_SMP_LOCK | 68 NGX_SMP_LOCK |
69 " xaddq %0, %1; " | 69 " xaddq %0, %1; " |
70 | 70 |
71 : "+q" (add) : "m" (*value) : "cc", "memory"); | 71 : "+r" (add) : "m" (*value) : "cc", "memory"); |
72 | 72 |
73 return add; | 73 return add; |
74 } | 74 } |
75 | 75 |
76 | 76 |