Mercurial > libavutil.hg
annotate x86_cpu.h @ 93:b47203d3711f libavutil
Add #define REGc
author | gpoirier |
---|---|
date | Sat, 12 Aug 2006 16:29:05 +0000 |
parents | 7df307dfe85c |
children | 11be8e0d1344 |
rev | line source |
---|---|
52
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
1 #ifndef AVUTIL_X86CPU_H |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
2 #define AVUTIL_X86CPU_H |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
3 |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
4 #ifdef ARCH_X86_64 |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
5 # define REG_a "rax" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
6 # define REG_b "rbx" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
7 # define REG_c "rcx" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
8 # define REG_d "rdx" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
9 # define REG_D "rdi" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
10 # define REG_S "rsi" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
11 # define PTR_SIZE "8" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
12 |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
13 # define REG_SP "rsp" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
14 # define REG_BP "rbp" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
15 # define REGBP rbp |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
16 # define REGa rax |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
17 # define REGb rbx |
93 | 18 # define REGc rcx |
52
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
19 # define REGSP rsp |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
20 |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
21 #else |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
22 |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
23 # define REG_a "eax" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
24 # define REG_b "ebx" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
25 # define REG_c "ecx" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
26 # define REG_d "edx" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
27 # define REG_D "edi" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
28 # define REG_S "esi" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
29 # define PTR_SIZE "4" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
30 |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
31 # define REG_SP "esp" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
32 # define REG_BP "ebp" |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
33 # define REGBP ebp |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
34 # define REGa eax |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
35 # define REGb ebx |
93 | 36 # define REGc ecx |
52
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
37 # define REGSP esp |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
38 #endif |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
39 |
7df307dfe85c
Move REG_* macros from libavcodec/i386/mmx.h to libavutil/x86_cpu.h
lucabe
parents:
diff
changeset
|
40 #endif /* AVUTIL_X86CPU_H */ |