remove STATS code (probably hasnt been used for years ..., and its not completely...
[libav.git] / libavutil / x86_cpu.h
1 #ifndef AVUTIL_X86CPU_H
2 #define AVUTIL_X86CPU_H
3
4 #ifdef ARCH_X86_64
5 # define REG_a "rax"
6 # define REG_b "rbx"
7 # define REG_c "rcx"
8 # define REG_d "rdx"
9 # define REG_D "rdi"
10 # define REG_S "rsi"
11 # define PTR_SIZE "8"
12
13 # define REG_SP "rsp"
14 # define REG_BP "rbp"
15 # define REGBP rbp
16 # define REGa rax
17 # define REGb rbx
18 # define REGSP rsp
19
20 #else
21
22 # define REG_a "eax"
23 # define REG_b "ebx"
24 # define REG_c "ecx"
25 # define REG_d "edx"
26 # define REG_D "edi"
27 # define REG_S "esi"
28 # define PTR_SIZE "4"
29
30 # define REG_SP "esp"
31 # define REG_BP "ebp"
32 # define REGBP ebp
33 # define REGa eax
34 # define REGb ebx
35 # define REGSP esp
36 #endif
37
38 #endif /* AVUTIL_X86CPU_H */