Home | History | Annotate | Download | only in amd64

Lines Matching defs:edx

147 static void cpuid ( UInt* eax, UInt* ebx, UInt* ecx, UInt* edx, 
154 *eax = a; *ebx = b; *ecx = c; *edx = d;
159 static void xgetbv ( UInt* eax, UInt* edx, UInt ecx_in )
165 *eax = a; *edx = d;
170 UInt eax, ebx, ecx, edx;
173 eax = ebx = ecx = edx = 0;
174 cpuid(&eax, &ebx, &ecx, &edx, 1,0);
178 eax = ebx = ecx = edx = 0;
179 cpuid(&eax, &ebx, &ecx, &edx, 1,0);
183 eax = ebx = ecx = edx = 0;
184 xgetbv(&eax, &edx, 0);
185 //fprintf(stderr, "xgetbv(0) = %u:%u\n", edx, eax);
186 ok = ok && (edx == 0) && (eax == 7);