Searched defs:ecx (Results 1 - 25 of 102) sorted by relevance

12345

/external/clang/test/Parser/
H A DMicrosoftExtensionsInlineAsm.c9 mov ecx, Base local
10 lock bts [ecx], eax
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Datomicops-internals-x86.cc78 uint32 ecx; local
82 cpuid(eax, ebx, ecx, edx, 0);
86 memcpy(vendor + 8, &ecx, 4);
89 // get feature flags in ecx/edx, and family/model in eax
90 cpuid(eax, ebx, ecx, edx, 1);
115 // ecx bit 13 indicates whether the cmpxchg16b instruction is supported
116 AtomicOps_Internalx86CPUFeatures.has_cmpxchg16b = ((ecx >> 13) & 1);
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Datomicops-internals-x86.cc78 uint32 ecx; local
82 cpuid(eax, ebx, ecx, edx, 0);
86 memcpy(vendor + 8, &ecx, 4);
89 // get feature flags in ecx/edx, and family/model in eax
90 cpuid(eax, ebx, ecx, edx, 1);
115 // ecx bit 13 indicates whether the cmpxchg16b instruction is supported
116 AtomicOps_Internalx86CPUFeatures.has_cmpxchg16b = ((ecx >> 13) & 1);
/external/clang/test/CodeGen/
H A Dms-inline-asm.c32 // CHECK: call void asm sideeffect inteldialect "mov ecx, ebx", "~{ecx},~{dirflag},~{fpsr},~{flags}"()
35 __asm mov ecx, ebx local
40 // CHECK: call void asm sideeffect inteldialect "mov ebx, eax\0A\09mov ecx, ebx", "~{ebx},~{ecx},~{dirflag},~{fpsr},~{flags}"()
42 __asm mov ebx, eax __asm mov ecx, ebx local
283 // CHECK: call void asm sideeffect inteldialect "popad", "~{eax},~{ebp},~{ebx},~{ecx},~{edi},~{edx},~{esi},~{esp},~{dirflag},~{fpsr},~{flags}"()
333 // CHECK: call void asm sideeffect inteldialect "popad", "~{eax},~{ebp},~{ebx},~{ecx},~{edi},~{edx},~{esi},~{esp},~{dirflag},~{fpsr},~{flags}"()
453 // CHECK: call void asm sideeffect inteldialect "cpuid", "~{eax},~{ebx},~{ecx},~{edx},~{dirflag},~{fpsr},~{flags}"()
/external/valgrind/main/none/tests/x86/
H A Dcmpxchg8b.c11 UInt ecx; variable
20 "\tpushl %ecx\n"
27 "\tmovl " VG_SYM(ecx) ",%ecx\n"
32 "\tmovl %ecx," VG_SYM(ecx) "\n"
39 "\tpopl %ecx\n"
48 ecx = 0x33333333; ebx = 0x44444444;
53 eax, ebx, ecx, edx, zout & 0xFFFF, m64 );
56 ecx
[all...]
/external/chromium_org/base/
H A Datomicops_internals_x86_gcc.cc51 uint32_t ecx; local
55 cpuid(eax, ebx, ecx, edx, 0);
59 memcpy(vendor + 8, &ecx, 4);
62 // get feature flags in ecx/edx, and family/model in eax
63 cpuid(eax, ebx, ecx, edx, 1);
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Datomicops_internals_x86_gcc.cc81 uint32_t ecx; local
85 cpuid(eax, ebx, ecx, edx, 0);
89 memcpy(vendor + 8, &ecx, 4);
92 // get feature flags in ecx/edx, and family/model in eax
93 cpuid(eax, ebx, ecx, edx, 1);
/external/chromium_org/v8/src/base/
H A Datomicops_internals_x86_gcc.cc60 uint32_t ecx = 0; local
64 cpuid(eax, ebx, ecx, edx, 0);
68 memcpy(vendor + 8, &ecx, 4);
71 // get feature flags in ecx/edx, and family/model in eax
72 cpuid(eax, ebx, ecx, edx, 1);
/external/clang/test/Sema/
H A Dms-inline-asm.c42 and ecx, ~15 local
47 and ecx, x local
48 and ecx, ~15 local
/external/fio/arch/
H A Darch-x86-common.h8 unsigned int *ecx, unsigned int *edx)
11 *ecx = 0;
12 do_cpuid(eax, ebx, ecx, edx);
21 unsigned int eax, ebx, ecx = 0, edx; local
27 do_cpuid(&eax, &ebx, &ecx, &edx);
35 do_cpuid(&eax, &ebx, &ecx, &edx);
41 unsigned int eax, ebx, ecx, edx; local
43 cpuid(0x80000000, &eax, &ebx, &ecx, &edx);
47 cpuid(0x80000007, &eax, &ebx, &ecx, &edx);
6 cpuid(unsigned int op, unsigned int *eax, unsigned int *ebx, unsigned int *ecx, unsigned int *edx) argument
H A Darch-x86.h5 unsigned int *ecx, unsigned int *edx)
8 : "=a" (*eax), "=r" (*ebx), "=c" (*ecx), "=d" (*edx)
4 do_cpuid(unsigned int *eax, unsigned int *ebx, unsigned int *ecx, unsigned int *edx) argument
/external/kernel-headers/original/uapi/linux/
H A Dtoshiba.h30 unsigned int ecx __attribute__ ((packed)); member in struct:__anon23450
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
H A DSDL_stdlib.c62 mov ecx,dword ptr [esp] local
63 xor ecx,80000000h local
64 add ecx,7FFFFFFFh local
71 mov ecx,dword ptr [esp] local
72 add ecx,7FFFFFFFh local
111 mov ecx,edx local
114 add ecx,edi local
117 lea ebx,[ebx+ecx]
159 mov ecx,dword ptr [esp+18h] local
162 div ecx
170 mov ecx,dword ptr [esp+18h] local
175 rcr ecx,1 local
183 mov ecx,eax local
219 mov ecx,dword ptr [esp+14h] local
229 mov ecx,eax local
234 shr ecx,1 local
238 or ecx,ecx local
243 mov ecx,eax local
293 mov ecx,dword ptr [esp+14h] local
306 mov ecx,dword ptr [esp+14h] local
311 rcr ecx,1 local
317 mov ecx,eax local
353 mov ecx,dword ptr [esp+10h] local
363 mov ecx,eax local
368 shr ecx,1 local
372 or ecx,ecx local
375 mov ecx,eax local
433 mov ecx,dword ptr [esp+18h] local
443 mov ecx,eax local
450 mov ecx,dword ptr [esp+18h] local
455 rcr ecx,1 local
463 mov ecx,eax local
488 mov ecx,edx local
491 mov ecx,eax local
512 mov ecx,dword ptr [esp+10h] local
522 mov ecx,eax local
528 mov ecx,eax local
533 shr ecx,1 local
537 or ecx,ecx local
542 mov ecx,eax local
564 mov ecx,edx local
567 mov ecx,eax local
[all...]
/external/chromium_org/third_party/libwebp/dsp/
H A Dcpu.c42 #define GetCPUInfo(info, type) __cpuidex(info, type, 0) // set ecx=0
50 const uint32_t ecx = 0; local
55 : "=a"(eax), "=d"(edx) : "c" (ecx));
64 xor ecx, ecx // ecx = 0 local
/external/fio/crc/
H A Dcrc32c-intel.c84 unsigned int eax, ebx, ecx = 0, edx; local
88 do_cpuid(&eax, &ebx, &ecx, &edx);
89 crc32c_intel_available = (ecx & (1 << 20)) != 0;
/external/oprofile/module/x86/
H A Dcpu_type.c36 int eax, ebx, ecx, edx; local
38 cpuid (1, &eax, &ebx, &ecx, &edx);
55 int eax, ebx, ecx, edx; local
58 cpuid(1, &eax, &ebx, &ecx, &edx);
/external/valgrind/main/VEX/useful/
H A Dcpuid.c7 void cpuid ( UInt* eax, UInt* ebx, UInt* ecx, UInt* edx, argument
14 *eax = a; *ebx = b; *ecx = c; *edx = d;
21 UInt eax, ebx, ecx, edx; local
25 cpuid(&eax,&ebx,&ecx,&edx, 0,0);
38 cpuid(&eax,&ebx,&ecx,&edx, i,0);
41 cpuid(&eax,&ebx,&ecx,&edx, i,ecx_in);
50 cpuid(&eax,&ebx,&ecx,&edx, 0x80000000,0);
53 cpuid(&eax,&ebx,&ecx,&edx, i,0);
57 cpuid(&eax,&ebx,&ecx,&edx, 1234,0);
58 cpuid(&eax,&ebx,&ecx,
[all...]
/external/webp/src/dsp/
H A Dcpu.c42 #define GetCPUInfo(info, type) __cpuidex(info, type, 0) // set ecx=0
50 const uint32_t ecx = 0; local
55 : "=a"(eax), "=d"(edx) : "c" (ecx));
64 xor ecx, ecx // ecx = 0 local
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_atomic.h245 mov ecx, [v] local
248 lock cmpxchg [ecx], edx
/external/chromium_org/v8/test/cctest/
H A Dtest-disasm-ia32.cc69 __ mov(ebx, Operand(esp, ecx, times_2, 0)); // [esp+ecx*4]
85 __ add(esi, Operand(ecx, times_4, 0));
86 __ add(esi, Operand(ecx, times_4, 24));
87 __ add(esi, Operand(ecx, times_4, -4));
88 __ add(esi, Operand(ecx, times_4, -1999));
90 __ add(edi, Operand(ebp, ecx, times_4, 0));
91 __ add(edi, Operand(ebp, ecx, times_4, 12));
92 __ add(edi, Operand(ebp, ecx, times_4, -8));
93 __ add(edi, Operand(ebp, ecx, times_
125 __ bts(Operand(ebx, ecx, times_4, 0), ecx); local
[all...]
H A Dtest-disasm-x87.cc69 __ mov(ebx, Operand(esp, ecx, times_2, 0)); // [esp+ecx*4]
85 __ add(esi, Operand(ecx, times_4, 0));
86 __ add(esi, Operand(ecx, times_4, 24));
87 __ add(esi, Operand(ecx, times_4, -4));
88 __ add(esi, Operand(ecx, times_4, -1999));
90 __ add(edi, Operand(ebp, ecx, times_4, 0));
91 __ add(edi, Operand(ebp, ecx, times_4, 12));
92 __ add(edi, Operand(ebp, ecx, times_4, -8));
93 __ add(edi, Operand(ebp, ecx, times_
125 __ bts(Operand(ebx, ecx, times_4, 0), ecx); local
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_atomic_msvc.h180 mov ecx, a local
182 lock cmpxchg [ecx], dl
/external/libyuv/files/source/
H A Dcpu_id.cc79 mov ecx, [esp + 4] // xcr local
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_atomic.h245 mov ecx, [v] local
248 lock cmpxchg [ecx], edx
/external/qemu/distrib/sdl-1.2.15/src/cpuinfo/
H A DSDL_cpuinfo.c63 " movl %%eax,%%ecx \n"
69 " xorl %%ecx,%%eax # Can not toggle ID bit, \n"
75 : "%eax", "%ecx"
89 " xorl %%ecx,%%eax # Can not toggle ID bit, \n"
101 mov ecx, eax local
107 xor eax, ecx ; Can not toggle ID bit, local
116 " movl %eax,%ecx \n"
122 " xorl %ecx,%eax \n"
137 " xorl %ecx,%eax \n"
166 : "%eax", "%ecx", "
[all...]

Completed in 621 milliseconds

12345