Mercurial > hg > nginx-vendor-0-6
comparison 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 |
comparison
equal
deleted
inserted
replaced
199:869664706c09 | 200:d2ae1c9f1fd3 |
---|---|
29 __asm__ ( | 29 __asm__ ( |
30 | 30 |
31 " mov %%ebx, %%esi; " | 31 " mov %%ebx, %%esi; " |
32 | 32 |
33 " cpuid; " | 33 " cpuid; " |
34 " mov %%eax, %0; " | 34 " mov %%eax, (%1); " |
35 " mov %%ebx, %1; " | 35 " mov %%ebx, 4(%1); " |
36 " mov %%edx, %2; " | 36 " mov %%edx, 8(%1); " |
37 " mov %%ecx, %3; " | 37 " mov %%ecx, 12(%1); " |
38 | 38 |
39 " mov %%esi, %%ebx; " | 39 " mov %%esi, %%ebx; " |
40 | 40 |
41 : "=m" (buf[0]), "=m" (buf[1]), "=m" (buf[2]), "=m" (buf[3]) | 41 : : "a" (i), "D" (buf) : "ecx", "edx", "esi", "memory" ); |
42 : "a" (i) | |
43 : "ecx", "edx", "esi" ); | |
44 } | 42 } |
45 | 43 |
46 | 44 |
47 #else /* __amd64__ */ | 45 #else /* __amd64__ */ |
48 | 46 |