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
5712ce24
Commit
5712ce24
authored
Sep 20, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused 486 and 586 capabilities
parent
5dc4a721
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
9 deletions
+0
-9
include/vlc_common.h
include/vlc_common.h
+0
-2
src/libvlc.c
src/libvlc.c
+0
-2
src/misc/cpu.c
src/misc/cpu.c
+0
-5
No files found.
include/vlc_common.h
View file @
5712ce24
...
...
@@ -789,8 +789,6 @@ VLC_EXPORT(int, vlc_wclosedir, ( void *_p_dir ));
* CPU capabilities
*****************************************************************************/
#define CPU_CAPABILITY_NONE 0
#define CPU_CAPABILITY_486 (1<<0)
#define CPU_CAPABILITY_586 (1<<1)
#define CPU_CAPABILITY_MMX (1<<3)
#define CPU_CAPABILITY_3DNOW (1<<4)
#define CPU_CAPABILITY_MMXEXT (1<<5)
...
...
src/libvlc.c
View file @
5712ce24
...
...
@@ -766,8 +766,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
}
p_capabilities
[
0
]
=
'\0'
;
PRINT_CAPABILITY
(
CPU_CAPABILITY_486
,
"486"
);
PRINT_CAPABILITY
(
CPU_CAPABILITY_586
,
"586"
);
PRINT_CAPABILITY
(
CPU_CAPABILITY_MMX
,
"MMX"
);
PRINT_CAPABILITY
(
CPU_CAPABILITY_3DNOW
,
"3DNow!"
);
PRINT_CAPABILITY
(
CPU_CAPABILITY_MMXEXT
,
"MMXEXT"
);
...
...
src/misc/cpu.c
View file @
5712ce24
...
...
@@ -138,8 +138,6 @@ uint32_t CPUCapabilities( void )
goto
out
;
# endif
i_capabilities
|=
CPU_CAPABILITY_486
;
/* the CPU supports the CPUID instruction - get its level */
cpuid
(
0x00000000
);
...
...
@@ -150,9 +148,6 @@ uint32_t CPUCapabilities( void )
goto
out
;
#endif
/* FIXME: this isn't correct, since some 486s have cpuid */
i_capabilities
|=
CPU_CAPABILITY_586
;
/* borrowed from mpeg2dec */
b_amd
=
(
i_ebx
==
0x68747541
)
&&
(
i_ecx
==
0x444d4163
)
&&
(
i_edx
==
0x69746e65
);
...
...
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