Home
last modified time | relevance | path

Searched refs:cpuid (Results 1 – 25 of 80) sorted by relevance

1234

/external/valgrind/VEX/useful/
Dcpuid.c7 void cpuid ( UInt* eax, UInt* ebx, UInt* ecx, UInt* edx, in cpuid() function
25 cpuid(&eax,&ebx,&ecx,&edx, 0,0); in main()
38 cpuid(&eax,&ebx,&ecx,&edx, i,0); in main()
41 cpuid(&eax,&ebx,&ecx,&edx, i,ecx_in); in main()
50 cpuid(&eax,&ebx,&ecx,&edx, 0x80000000,0); in main()
53 cpuid(&eax,&ebx,&ecx,&edx, i,0); in main()
57 cpuid(&eax,&ebx,&ecx,&edx, 1234,0); in main()
58 cpuid(&eax,&ebx,&ecx,&edx, 0x800004d3,0); in main()
/external/libvpx/libvpx/vpx_ports/
Dx86.h43 #define cpuid(func, func2, ax, bx, cx, dx)\ macro
49 #define cpuid(func, func2, ax, bx, cx, dx)\ macro
59 #define cpuid(func, func2, ax, bx, cx, dx)\ macro
68 #define cpuid(func, func2, ax, bx, cx, dx)\ macro
82 #define cpuid(func, func2, a, b, c, d) do {\ macro
90 #define cpuid(func, func2, a, b, c, d) do {\ macro
97 #define cpuid(func, func2, a, b, c, d)\ macro
100 __asm cpuid\
178 cpuid(0, 0, max_cpuid_val, reg_ebx, reg_ecx, reg_edx); in x86_simd_caps()
184 cpuid(1, 0, reg_eax, reg_ebx, reg_ecx, reg_edx); in x86_simd_caps()
[all …]
/external/autotest/client/tests/ltp/patches/
Dcpuid.patch4 Subject: [PATCH] cpuid: add common header
6 Add a helper function for people to execute the cpuid asm code.
33 +static inline void cpuid(unsigned int info, unsigned int *eax, unsigned int *ebx,
40 + "cpuid;"
71 -inline void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx)
76 - __asm__("cpuid"
93 cpuid(1,&eax,&ebx,&ecx,&edx);
112 -inline void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx)
117 - __asm__("cpuid"
134 cpuid(1,&eax,&ebx,&ecx,&edx);
[all …]
/external/protobuf/src/google/protobuf/stubs/
Datomicops_internals_x86_gcc.cc48 #define cpuid(a, b, c, d, inp) \ macro
54 #define cpuid(a, b, c, d, inp) \ macro
61 #if defined(cpuid) // initialize the struct only on x86
85 cpuid(eax, ebx, ecx, edx, 0); in AtomicOps_Internalx86CPUFeaturesInit()
93 cpuid(eax, ebx, ecx, edx, 1); in AtomicOps_Internalx86CPUFeaturesInit()
/external/v8/src/base/
Datomicops_internals_x86_gcc.cc22 #define cpuid(a, b, c, d, inp) \ macro
28 #define cpuid(a, b, c, d, inp) \ macro
35 #if defined(cpuid) // initialize the struct only on x86
65 cpuid(eax, ebx, ecx, edx, 0); in AtomicOps_Internalx86CPUFeaturesInit()
73 cpuid(eax, ebx, ecx, edx, 1); in AtomicOps_Internalx86CPUFeaturesInit()
/external/valgrind/coregrind/
Dm_cpuid.S74 .globl VG_(cpuid)
75 VG_(cpuid):
85 cpuid
116 .globl VG_(cpuid)
117 VG_(cpuid):
131 cpuid
Dm_cache.c129 VG_(cpuid)(1, 0, &cpuid1_eax, &cpuid1_ignore, in Intel_cache_info()
134 VG_(cpuid)(2, 0, (UInt*)&info[0], (UInt*)&info[4], in Intel_cache_info()
291 VG_(cpuid)(4, j++, (UInt*)&info[0], (UInt*)&info[4], in Intel_cache_info()
346 VG_(cpuid)(4, j++, (UInt*)&info[0], (UInt*)&info[4], in Intel_cache_info()
418 VG_(cpuid)(0x80000000, 0, &ext_level, &dummy, &dummy, &dummy); in AMD_cache_info()
426 VG_(cpuid)(0x80000005, 0, &dummy, &dummy, &D1i, &I1i); in AMD_cache_info()
427 VG_(cpuid)(0x80000006, 0, &dummy, &dummy, &L2i, &L3i); in AMD_cache_info()
429 VG_(cpuid)(0x1, 0, &model, &dummy, &dummy, &dummy); in AMD_cache_info()
492 VG_(cpuid)(0, 0, &level, (UInt*)&vendor_id[0], in get_caches_from_CPUID()
Dpub_core_cpuid.h44 extern void VG_(cpuid) ( UInt eax, UInt ecx,
/external/fio/arch/
Darch-x86-common.h6 static inline void cpuid(unsigned int op, in cpuid() function
43 cpuid(0x80000000, &eax, &ebx, &ecx, &edx); in arch_init_amd()
47 cpuid(0x80000007, &eax, &ebx, &ecx, &edx); in arch_init_amd()
59 cpuid(0, &level, (unsigned int *) &str[0], in arch_init()
/external/libyuv/files/
Dlinux.mk63 all: libyuv.a convert cpuid psnr
77 cpuid: util/cpuid.c libyuv.a
78 $(CC) $(CFLAGS) -o $@ util/cpuid.c libyuv.a
81 /bin/rm -f source/*.o *.ii *.s libyuv.a convert cpuid psnr
/external/mesa3d/src/gallium/auxiliary/util/
Du_cpu_detect.c183 cpuid(uint32_t ax, uint32_t *p) in cpuid() function
261 cpuid(0x00000000, regs); in util_cpu_detect()
266 cpuid (0x00000001, regs2); in util_cpu_detect()
289 cpuid(0x80000000, regs); in util_cpu_detect()
293 cpuid(0x80000001, regs2); in util_cpu_detect()
302 cpuid(0x80000006, regs2); in util_cpu_detect()
/external/valgrind/tests/
Dx86_amd64_features.c28 static void cpuid ( unsigned int n, in cpuid() function
43 cpuid(0, &a, &b, &c, &d); in vendorStringEquals()
140 cpuid( level & 0x80000000, &a, &b, &c, &d ); in go()
143 cpuid( level, &a, &b, &c, &d ); in go()
/external/valgrind/none/tests/x86/
Dcpuid.stdout.exp1 cpuid words (0): 0x........ 0x........ 0x........ 0x........
2 cpuid words (1): 0x........ 0x........ 0x........ 0x........
Dcpuid_s.S25 cpuid
55 cpuid
DMakefile.am47 cpuid.stderr.exp cpuid.stdout.exp cpuid.vgtest \
96 cpuid \ program
Dcpuid.vgtest1 prog: cpuid
/external/libjpeg-turbo/simd/
Djsimdcpu.asm56 cpuid
62 cpuid
80 cpuid
85 cpuid
/external/ImageMagick/m4/
Dax_gcc_x86_cpuid.m414 # that executes the cpuid instruction with input OP. This can be used to
16 # parameter that gets passed into register ECX before calling cpuid.
22 # If the cpuid instruction fails (because you are running a
70 AC_CACHE_CHECK(for x86 cpuid $1 output, ax_cv_gcc_x86_cpuid_$1,
74 __asm__ __volatile__ ("cpuid"
/external/llvm/test/CodeGen/X86/
D2009-10-19-atomic-cmp-eflags.ll15 …tail call void asm sideeffect "cpuid", "~{ax},~{bx},~{cx},~{dx},~{memory},~{dirflag},~{fpsr},~{fla…
19 …call void asm sideeffect "cpuid", "~{ax},~{bx},~{cx},~{dx},~{memory},~{dirflag},~{fpsr},~{flags}"(…
36 …call void asm sideeffect "cpuid", "~{ax},~{bx},~{cx},~{dx},~{memory},~{dirflag},~{fpsr},~{flags}"(…
53 …tail call void asm sideeffect "cpuid", "~{ax},~{bx},~{cx},~{dx},~{memory},~{dirflag},~{fpsr},~{fla…
D2009-04-29-IndirectDestOperands.ll5 define void @cpuid(i32* %data) nounwind {
19 …%0 = call i32 asm "cpuid", "={ax},=*{bx},=*{cx},=*{dx},{ax},{bx},{cx},{dx},~{dirflag},~{fpsr},~{fl…
/external/skia/src/core/
DSkOpts.cpp39 static void cpuid (uint32_t abcd[4]) { __cpuid ((int*)abcd, 1); } in cpuid() function
48 static void cpuid (uint32_t abcd[4]) { __get_cpuid(1, abcd+0, abcd+1, abcd+2, abcd+3); } in cpuid() function
119 cpuid(abcd); in init()
/external/autotest/client/profilers/powertop/src/
Dintelcstates.c42 static void cpuid( unsigned int *eax, in cpuid() function
139 cpuid(&eax, &ebx, &ecx, &edx); in print_intel_cstates()
/external/valgrind/memcheck/tests/amd64/
Dxsave-avx.c147 static void cpuid ( UInt* eax, UInt* ebx, UInt* ecx, UInt* edx, in cpuid() function
174 cpuid(&eax, &ebx, &ecx, &edx, 1,0); in check_for_xsave()
179 cpuid(&eax, &ebx, &ecx, &edx, 1,0); in check_for_xsave()
/external/clang/lib/Headers/
Dmodule.modulemap34 explicit module cpuid {
35 header "cpuid.h"
/external/fec/
Dcpu_features.s9 cpuid

1234