Lines Matching defs:edx
444 "1: movl 28(%%edi), %%edx\n" /* Trick: Read-ahead */
447 " movl 4(%%esi), %%edx\n"
449 " movl %%edx, 4(%%edi)\n"
451 " movl 12(%%esi), %%edx\n"
453 " movl %%edx, 12(%%edi)\n"
455 " movl 20(%%esi), %%edx\n"
457 " movl %%edx, 20(%%edi)\n"
459 " movl 28(%%esi), %%edx\n"
461 " movl %%edx, 28(%%edi)\n"
469 : "eax", "edx", "memory", "cc");
484 : "ecx", "edx", "cc");
932 #define cpuid(op, eax, ebx, ecx, edx) \
939 "=c" (ecx), "=d" (edx) \
945 int eax, ebx, ecx, edx;
967 cpuid(0x00000000, eax, ebx, ecx, edx);
973 cpuid(0x00000001, eax, ebx, ecx, edx);
975 if(!(edx & 0x10)) {
985 unsigned int flags = 0, eax, ebx, ecx, edx;
993 cpuid(0x00000000, eax, ebx, ecx, edx);
995 IsAMD = (ebx == 0x68747541) && (edx == 0x69746e65) && (ecx == 0x444d4163);
997 cpuid(0x00000001, eax, ebx, ecx, edx);
999 if(edx & 0x00800000) flags |= SIS_CPUFL_MMX;
1001 if(edx & 0x02000000) flags |= (SIS_CPUFL_SSE | SIS_CPUFL_MMX2);
1003 if(edx & 0x04000000) flags |= (SIS_CPUFL_SSE | SIS_CPUFL_SSE2);
1005 cpuid(0x80000000, eax, ebx, ecx, edx);
1007 cpuid(0x80000001, eax, ebx, ecx, edx);
1009 if(edx & 0x80000000) flags |= SIS_CPUFL_3DNOW;
1011 if(IsAMD && (edx & 0x00400000)) flags |= SIS_CPUFL_MMX2;