summaryrefslogtreecommitdiff
path: root/libpostproc
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-03-17 23:08:19 +0000
committerMåns Rullgård <mans@mansr.com>2008-03-17 23:08:19 +0000
commitb55aa9a90446c3f6a549b82e0313b221f0fc31ed (patch)
tree2d4bb1e447b3aa5620534ebd3fd7c4a53ee98af7 /libpostproc
parent3c9bcb42cf9887382330c8bb55f94060289a9b4d (diff)
get register names from x86_cpu.h
Originally committed as revision 12482 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libpostproc')
-rw-r--r--libpostproc/postprocess_template.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/libpostproc/postprocess_template.c b/libpostproc/postprocess_template.c
index 8789b5fca6..3904d4d4ab 100644
--- a/libpostproc/postprocess_template.c
+++ b/libpostproc/postprocess_template.c
@@ -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