Lines Matching refs:flags
23 static int arm_cpu_env_flags(int *flags) { in arm_cpu_env_flags() argument
27 *flags = (int)strtol(env, NULL, 0); in arm_cpu_env_flags()
30 *flags = 0; in arm_cpu_env_flags()
46 int flags; in arm_cpu_caps() local
48 if (!arm_cpu_env_flags(&flags)) { in arm_cpu_caps()
49 return flags; in arm_cpu_caps()
53 flags |= HAS_MEDIA; in arm_cpu_caps()
56 flags |= HAS_NEON; in arm_cpu_caps()
58 return flags & mask; in arm_cpu_caps()
68 int flags; in arm_cpu_caps() local
70 if (!arm_cpu_env_flags(&flags)) { in arm_cpu_caps()
71 return flags; in arm_cpu_caps()
83 flags |= HAS_MEDIA; in arm_cpu_caps()
94 flags |= HAS_NEON;
100 return flags & mask;
107 int flags;
110 if (!arm_cpu_env_flags(&flags)) {
111 return flags;
117 flags |= HAS_MEDIA;
121 flags |= HAS_NEON;
123 return flags & mask;
132 int flags;
134 if (!arm_cpu_env_flags(&flags)) {
135 return flags;
154 flags |= HAS_NEON;
163 flags |= HAS_MEDIA;
170 return flags & mask;