Searched refs:cpu_flags (Results 1 – 8 of 8) sorted by relevance
79 const char* cpu_flags = getenv("LIBYUV_FLAGS"); in LibYUVConvertTest() local80 if (cpu_flags) { in LibYUVConvertTest()81 disable_cpu_flags_ = atoi(cpu_flags); // NOLINT in LibYUVConvertTest()88 benchmark_cpu_info_ = atoi(cpu_flags); // NOLINT in LibYUVConvertTest()138 const char* cpu_flags = getenv("LIBYUV_FLAGS"); in LibYUVColorTest() local139 if (cpu_flags) { in LibYUVColorTest()140 disable_cpu_flags_ = atoi(cpu_flags); // NOLINT in LibYUVColorTest()147 benchmark_cpu_info_ = atoi(cpu_flags); // NOLINT in LibYUVColorTest()197 const char* cpu_flags = getenv("LIBYUV_FLAGS"); in LibYUVScaleTest() local198 if (cpu_flags) { in LibYUVScaleTest()[all …]
22 int cpu_flags = TestCpuFlag(-1); in TEST_F() local23 printf("Cpu Flags %x\n", cpu_flags); in TEST_F()
14 static const struct cras_mix_ops* get_mixer_ops(unsigned int cpu_flags) in get_mixer_ops() argument17 if (cpu_flags & CPU_X86_FMA) in get_mixer_ops()21 if (cpu_flags & CPU_X86_AVX2) in get_mixer_ops()25 if (cpu_flags & CPU_X86_AVX) in get_mixer_ops()29 if (cpu_flags & CPU_X86_SSE4_2) in get_mixer_ops()
372 unsigned int cpu_flags = 0; in cpu_x86_flags() local380 cpu_flags |= CPU_X86_SSE4_2; in cpu_x86_flags()383 cpu_flags |= CPU_X86_AVX; in cpu_x86_flags()386 cpu_flags |= CPU_X86_FMA; in cpu_x86_flags()393 cpu_flags |= CPU_X86_AVX2; in cpu_x86_flags()396 return cpu_flags; in cpu_x86_flags()
99 static __inline void SetCpuFlags(int cpu_flags) { in SetCpuFlags() argument102 __atomic_store_n(&cpu_info_, cpu_flags, __ATOMIC_RELAXED); in SetCpuFlags()104 cpu_info_ = cpu_flags; in SetCpuFlags()
35 self.cpu_flags = [79 if flags != self.cpu_flags:83 self.cpu_flags, flags)
562 uint32_t cpu_flags = SYSPAGE_ENTRY(cpuinfo)->flags; in CPU() local563 if (cpu_flags & ARM_CPU_FLAG_V7) { in CPU()566 } else if (cpu_flags & ARM_CPU_FLAG_V6) { in CPU()572 has_fpu_ = (cpu_flags & CPU_FLAG_FPU) != 0; in CPU()574 if (cpu_flags & ARM_CPU_FLAG_NEON) { in CPU()578 has_vfp3_d32_ = (cpu_flags & ARM_CPU_FLAG_VFP_D32) != 0; in CPU()581 has_idiva_ = (cpu_flags & ARM_CPU_FLAG_IDIV) != 0; in CPU()
21 int cpu_flags = TestCpuFlag(-1); in main() local60 printf("Cpu Flags %x\n", cpu_flags); in main()