Statistics
| Branch: | Revision:

ffmpeg / libavutil / x86_cpu.h @ 71295009

History | View | Annotate | Download (737 Bytes)

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 REGc    rcx
19
#  define REGSP   rsp
20

    
21
#else
22

    
23
#  define REG_a "eax"
24
#  define REG_b "ebx"
25
#  define REG_c "ecx"
26
#  define REG_d "edx"
27
#  define REG_D "edi"
28
#  define REG_S "esi"
29
#  define PTR_SIZE "4"
30

    
31
#  define REG_SP "esp"
32
#  define REG_BP "ebp"
33
#  define REGBP   ebp
34
#  define REGa    eax
35
#  define REGb    ebx
36
#  define REGc    ecx
37
#  define REGSP   esp
38
#endif
39

    
40
#endif /* AVUTIL_X86CPU_H */