Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
8e9cd81d
Commit
8e9cd81d
authored
Jan 14, 2016
by
Fiona Glaser
Committed by
Diego Biurrun
Jul 20, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: cpu: Detect Conroe CPUs and their slow shuffle unit
parent
7d7355aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
cpu.c
libavutil/x86/cpu.c
+6
-0
No files found.
libavutil/x86/cpu.c
View file @
8e9cd81d
...
...
@@ -221,6 +221,12 @@ int ff_get_cpu_flags_x86(void)
* functions on the Atom. */
if
(
family
==
6
&&
model
==
28
)
rval
|=
AV_CPU_FLAG_ATOM
;
/* Conroe has a slow shuffle unit. Check the model number to ensure not
* to include crippled low-end Penryns and Nehalems that lack SSE4. */
if
((
rval
&
AV_CPU_FLAG_SSSE3
)
&&
!
(
rval
&
AV_CPU_FLAG_SSE4
)
&&
family
==
6
&&
model
<
23
)
rval
|=
AV_CPU_FLAG_SSSE3SLOW
;
}
#endif
/* cpuid */
...
...
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