Mercurial > hg > nginx-vendor-0-6
diff src/core/ngx_cpuinfo.c @ 200:d2ae1c9f1fd3 NGINX_0_3_47
nginx 0.3.47
*) Feature: the "upstream" directive.
*) Change: now the "\" escape symbol in the "\"" and "\'" pairs in the
SSI command is always removed.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 23 May 2006 00:00:00 +0400 |
parents | fef68f68bcfd |
children | a39aab45a53f |
line wrap: on
line diff
--- a/src/core/ngx_cpuinfo.c +++ b/src/core/ngx_cpuinfo.c @@ -31,16 +31,14 @@ ngx_cpuid(uint32_t i, uint32_t *buf) " mov %%ebx, %%esi; " " cpuid; " - " mov %%eax, %0; " - " mov %%ebx, %1; " - " mov %%edx, %2; " - " mov %%ecx, %3; " + " mov %%eax, (%1); " + " mov %%ebx, 4(%1); " + " mov %%edx, 8(%1); " + " mov %%ecx, 12(%1); " " mov %%esi, %%ebx; " - : "=m" (buf[0]), "=m" (buf[1]), "=m" (buf[2]), "=m" (buf[3]) - : "a" (i) - : "ecx", "edx", "esi" ); + : : "a" (i), "D" (buf) : "ecx", "edx", "esi", "memory" ); }