Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Stefan Strogin
flac
Commits
e58a6e75
Commit
e58a6e75
authored
Jun 27, 2016
by
Julian Calaby
Committed by
Erik de Castro Lopo
Jun 28, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libFLAC/cpu.c: Remove a layer of cpp conditionals
parent
7394ad85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
src/libFLAC/cpu.c
src/libFLAC/cpu.c
+1
-3
No files found.
src/libFLAC/cpu.c
View file @
e58a6e75
...
...
@@ -358,11 +358,10 @@ x86_64_cpu_info (FLAC__CPUInfo *info)
#elif defined(__ANDROID__) || defined(ANDROID)
/* no need to check OS SSE support */
info
->
use_asm
=
true
;
#el
se
#el
if !defined FLAC__NO_ASM && FLAC__HAS_X86INTRIN
FLAC__bool
x86_osxsave
=
false
;
FLAC__uint32
flags_eax
,
flags_ebx
,
flags_ecx
,
flags_edx
;
#if !defined FLAC__NO_ASM && FLAC__HAS_X86INTRIN
info
->
use_asm
=
true
;
/* http://www.sandpile.org/x86/cpuid.htm */
...
...
@@ -407,7 +406,6 @@ x86_64_cpu_info (FLAC__CPUInfo *info)
else
/* no OS AVX support */
x86_64_disable_avx
(
info
);
#endif
#endif
}
void
FLAC__cpu_info
(
FLAC__CPUInfo
*
info
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment