Revision 9c39071d libavcodec/i386/mmx.h

View differences:

libavcodec/i386/mmx.h
5 5
#ifndef AVCODEC_I386MMX_H
6 6
#define AVCODEC_I386MMX_H
7 7

  
8
#ifdef ARCH_X86_64
9
#  define REG_a "rax"
10
#  define REG_b "rbx"
11
#  define REG_c "rcx"
12
#  define REG_d "rdx"
13
#  define REG_D "rdi"
14
#  define REG_S "rsi"
15
#  define PTR_SIZE "8"
16
#else
17
#  define REG_a "eax"
18
#  define REG_b "ebx"
19
#  define REG_c "ecx"
20
#  define REG_d "edx"
21
#  define REG_D "edi"
22
#  define REG_S "esi"
23
#  define PTR_SIZE "4"
24
#endif
25

  
26 8
/*
27 9
 * The type of an value that fits in an MMX register (note that long
28 10
 * long constant values MUST be suffixed by LL and unsigned long long

Also available in: Unified diff