Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Strogin
flac
Commits
ea0d5dda
Commit
ea0d5dda
authored
Sep 21, 2014
by
Erik de Castro Lopo
Browse files
lpc_intrin_sse41.c : Optimize decoding 24 bit files on 32 bit platforms.
Patch-from: lvqcl <lvqcl.mail@gmail.com>
parent
fa85e3ce
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
src/libFLAC/lpc_intrin_sse41.c
View file @
ea0d5dda
This diff is collapsed.
Click to expand it.
src/libFLAC/stream_decoder.c
View file @
ea0d5dda
...
...
@@ -411,11 +411,15 @@ static FLAC__StreamDecoderInitStatus init_stream_internal_(
decoder
->
private_
->
local_lpc_restore_signal_16bit
=
FLAC__lpc_restore_signal_16_intrin_sse2
;
}
# endif
# if defined FLAC__SSE4_1_SUPPORTED
&& 1
/* OPT_SSE: faster than asm; TODO: more tests */
if
(
decoder
->
private_
->
cpuinfo
.
ia32
.
sse41
)
# if defined FLAC__SSE4_1_SUPPORTED
if
(
decoder
->
private_
->
cpuinfo
.
ia32
.
sse41
)
{
decoder
->
private_
->
local_lpc_restore_signal_64bit
=
FLAC__lpc_restore_signal_wide_intrin_sse41
;
}
# endif
#endif
#elif defined FLAC__CPU_X86_64
FLAC__ASSERT
(
decoder
->
private_
->
cpuinfo
.
type
==
FLAC__CPUINFO_TYPE_X86_64
);
/* No useful SSE optimizations yet */
#endif
}
#endif
...
...
Write
Preview
Supports
Markdown
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