Revision b36d24b6 target-i386/helper.c
b/target-i386/helper.c | ||
---|---|---|
1421 | 1421 |
#else |
1422 | 1422 |
asm volatile("pusha \n\t" |
1423 | 1423 |
"cpuid \n\t" |
1424 |
"mov %%eax, 0(%1) \n\t"
|
|
1425 |
"mov %%ebx, 4(%1) \n\t"
|
|
1426 |
"mov %%ecx, 8(%1) \n\t"
|
|
1427 |
"mov %%edx, 12(%1) \n\t"
|
|
1424 |
"mov %%eax, 0(%2) \n\t"
|
|
1425 |
"mov %%ebx, 4(%2) \n\t"
|
|
1426 |
"mov %%ecx, 8(%2) \n\t"
|
|
1427 |
"mov %%edx, 12(%2) \n\t"
|
|
1428 | 1428 |
"popa" |
1429 | 1429 |
: : "a"(function), "c"(count), "S"(vec) |
1430 | 1430 |
: "memory", "cc"); |
Also available in: Unified diff