[vlc-commits] x86_64 cpuid: remove useless step (already done by '=b')

Rafaël Carré git at videolan.org
Tue Oct 25 18:46:31 CEST 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Oct 25 12:46:09 2011 -0400| [35a45488f5b609e928d9f79d0c9e488f75a65777] | committer: Rafaël Carré

x86_64 cpuid: remove useless step (already done by '=b')

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=35a45488f5b609e928d9f79d0c9e488f75a65777
---

 src/misc/cpu.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/misc/cpu.c b/src/misc/cpu.c
index 0b0673a..39ac2e9 100644
--- a/src/misc/cpu.c
+++ b/src/misc/cpu.c
@@ -108,7 +108,6 @@ void vlc_CPU_init (void)
 #   if defined( __x86_64__ )
 #       define cpuid( reg )                    \
             asm volatile ( "cpuid\n\t"         \
-                           "movl %%ebx,%1\n\t" \
                          : "=a" ( i_eax ),     \
                            "=b" ( i_ebx ),     \
                            "=c" ( i_ecx ),     \



More information about the vlc-commits mailing list