[vlc-devel] [PATCH 01/18] i_ebx can be 0x12fe90 on some AMD CPUs.
KO Myung-Hun
komh at chollian.net
Thu Oct 20 14:30:08 CEST 2011
My AMD ThunderBird CPU is the case.
---
src/misc/cpu.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/misc/cpu.c b/src/misc/cpu.c
index 0b0673a..573ecb7 100644
--- a/src/misc/cpu.c
+++ b/src/misc/cpu.c
@@ -164,7 +164,8 @@ void vlc_CPU_init (void)
#endif
/* borrowed from mpeg2dec */
- b_amd = ( i_ebx == 0x68747541 ) && ( i_ecx == 0x444d4163 )
+ b_amd = ( i_ebx == 0x68747541 || i_ebx == 0x12fe90 )
+ && ( i_ecx == 0x444d4163 )
&& ( i_edx == 0x69746e65 );
/* test for the MMX flag */
--
1.7.3.2
More information about the vlc-devel
mailing list