This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
get register names from x86_cpu.h
Originally committed as revision 12482 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Måns Rullgård
17 years ago
parent
3c9bcb42cf
commit
b55aa9a904
2 changed files
with
2 additions
and
22 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-8
libavcodec/i386/cputest.c
+1
-14
libpostproc/postprocess_template.c
+ 1
- 8
libavcodec/i386/cputest.c
View File
@@ -22,17 +22,10 @@
#include <stdlib.h>
#include "dsputil.h"
#include "x86_cpu.h"
#undef printf
#ifdef ARCH_X86_64
# define REG_b "rbx"
# define REG_S "rsi"
#else
# define REG_b "ebx"
# define REG_S "esi"
#endif
/* ebx saving is necessary for PIC. gcc seems unable to see it alone */
#define cpuid(index,eax,ebx,ecx,edx)\
asm volatile\
+ 1
- 14
libpostproc/postprocess_template.c
View File
@@ -23,24 +23,11 @@
* mmx/mmx2/3dnow postprocess code.
*/
#include "x86_cpu.h"
#ifdef ARCH_X86_64
# define REGa rax
# define REGc rcx
# define REGd rdx
# define REG_a "rax"
# define REG_c "rcx"
# define REG_d "rdx"
# define REG_SP "rsp"
# define ALIGN_MASK "$0xFFFFFFFFFFFFFFF8"
#else
# define REGa eax
# define REGc ecx
# define REGd edx
# define REG_a "eax"
# define REG_c "ecx"
# define REG_d "edx"
# define REG_SP "esp"
# define ALIGN_MASK "$0xFFFFFFF8"
#endif
Write
Preview
Loading…
Cancel
Save