Revision 766324fc libavcodec/i386/motion_est_mmx.c
libavcodec/i386/motion_est_mmx.c | ||
---|---|---|
24 | 24 |
#include "dsputil.h" |
25 | 25 |
#include "x86_cpu.h" |
26 | 26 |
|
27 |
static const __attribute__ ((aligned(8))) uint64_t round_tab[3]={
|
|
27 |
DECLARE_ASM_CONST(8, uint64_t, round_tab[3])={
|
|
28 | 28 |
0x0000000000000000ULL, |
29 | 29 |
0x0001000100010001ULL, |
30 | 30 |
0x0002000200020002ULL, |
31 | 31 |
}; |
32 | 32 |
|
33 |
static attribute_used __attribute__ ((aligned(8))) uint64_t bone= 0x0101010101010101LL;
|
|
33 |
DECLARE_ASM_CONST(8, uint64_t, bone)= 0x0101010101010101LL;
|
|
34 | 34 |
|
35 | 35 |
static inline void sad8_1_mmx(uint8_t *blk1, uint8_t *blk2, int stride, int h) |
36 | 36 |
{ |
Also available in: Unified diff