use "r" instead of "q"
Igor Sysoev
15 years ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
src/os/unix/ngx_gcc_atomic_amd64.h
less
more
67
67
NGX_SMP_LOCK
68
68
" xaddq %0, %1; "
69
69
70
: "+q" (add) : "m" (*value) : "cc", "memory");
70
: "+r" (add) : "m" (*value) : "cc", "memory");
71
71
72
72
return add;
73
73
}