Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
996bff47
Commit
996bff47
authored
Aug 05, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 3d Now! tests compilation
parent
125ec24e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/misc/cpu.c
src/misc/cpu.c
+3
-3
No files found.
src/misc/cpu.c
View file @
996bff47
...
...
@@ -99,7 +99,7 @@ VLC_SSE static void SSE_test (void)
asm
volatile
(
"xorps %%xmm0,%%xmm0
\n
"
:
:
:
"xmm0"
,
"xmm1"
);
}
#endif
#if defined (CAN_COMPILE_3DNOW)
&& !defined (__3dNOW__)
#if defined (CAN_COMPILE_3DNOW)
VLC_MMX
static
void
ThreeD_Now_test
(
void
)
{
asm
volatile
(
"pfadd %%mm0,%%mm0
\n
"
"femms
\n
"
:
:
:
"mm0"
);
...
...
@@ -222,10 +222,10 @@ void vlc_CPU_init (void)
/* list these additional capabilities */
cpuid
(
0x80000001
);
# if defined (CAN_COMPILE_3DNOW)
# if defined (CAN_COMPILE_3DNOW)
&& !defined (__3dNOW__)
if
((
i_edx
&
0x80000000
)
&&
vlc_CPU_check
(
"3D Now!"
,
ThreeD_Now_test
))
i_capabilities
|=
CPU_CAPABILITY_3DNOW
;
# endif
i_capabilities
|=
VLC_CPU_3dNOW
;
if
(
b_amd
&&
(
i_edx
&
0x00400000
)
)
i_capabilities
|=
VLC_CPU_MMXEXT
;
...
...
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