Skip to content
Snippets Groups Projects
Commit 77e29e39 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Hugo Beauzée-Luyssen
Browse files

cpu: remove dead code

(and fix unused warning)
parent 56e43fab
No related branches found
No related tags found
1 merge request!1480cpu: purge MMXEXT
......@@ -116,7 +116,6 @@ VLC_WEAK unsigned vlc_CPU_raw(void)
#if defined( __i386__ ) || defined( __x86_64__ )
unsigned int i_eax, i_ebx, i_ecx, i_edx;
bool b_amd;
/* Needed for x86 CPU capabilities detection */
# if defined (__i386__) && defined (__PIC__)
......@@ -168,10 +167,6 @@ VLC_WEAK unsigned vlc_CPU_raw(void)
goto out;
#endif
/* borrowed from mpeg2dec */
b_amd = ( i_ebx == 0x68747541 ) && ( i_ecx == 0x444d4163 )
&& ( i_edx == 0x69746e65 );
/* test for the MMX flag */
cpuid( 0x00000001 );
# if !defined (__MMX__)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment