comparison i386/dsputil_mmx.c @ 1845:3054613980a8 libavcodec

attribute used patch by (mitya at school dot ioffe dot ru (Dmitry Baryshkov))
author michael
date Sun, 29 Feb 2004 22:10:18 +0000
parents 65f7bd09f37b
children 771dcc2d4a0c
comparison
equal deleted inserted replaced
1844:2de13087f46e 1845:3054613980a8
29 extern const uint8_t ff_h263_loop_filter_strength[32]; 29 extern const uint8_t ff_h263_loop_filter_strength[32];
30 30
31 int mm_flags; /* multimedia extension flags */ 31 int mm_flags; /* multimedia extension flags */
32 32
33 /* pixel operations */ 33 /* pixel operations */
34 static const uint64_t mm_bone __attribute__ ((aligned(8))) = 0x0101010101010101ULL; 34 static const uint64_t mm_bone attribute_used __attribute__ ((aligned(8))) = 0x0101010101010101ULL;
35 static const uint64_t mm_wone __attribute__ ((aligned(8))) = 0x0001000100010001ULL; 35 static const uint64_t mm_wone attribute_used __attribute__ ((aligned(8))) = 0x0001000100010001ULL;
36 static const uint64_t mm_wtwo __attribute__ ((aligned(8))) = 0x0002000200020002ULL; 36 static const uint64_t mm_wtwo attribute_used __attribute__ ((aligned(8))) = 0x0002000200020002ULL;
37 37
38 static const uint64_t ff_pw_20 __attribute__ ((aligned(8))) = 0x0014001400140014ULL; 38 static const uint64_t ff_pw_20 attribute_used __attribute__ ((aligned(8))) = 0x0014001400140014ULL;
39 static const uint64_t ff_pw_3 __attribute__ ((aligned(8))) = 0x0003000300030003ULL; 39 static const uint64_t ff_pw_3 attribute_used __attribute__ ((aligned(8))) = 0x0003000300030003ULL;
40 static const uint64_t ff_pw_16 __attribute__ ((aligned(8))) = 0x0010001000100010ULL; 40 static const uint64_t ff_pw_16 attribute_used __attribute__ ((aligned(8))) = 0x0010001000100010ULL;
41 static const uint64_t ff_pw_15 __attribute__ ((aligned(8))) = 0x000F000F000F000FULL; 41 static const uint64_t ff_pw_15 attribute_used __attribute__ ((aligned(8))) = 0x000F000F000F000FULL;
42 42
43 static const uint64_t ff_pb_FC __attribute__ ((aligned(8))) = 0xFCFCFCFCFCFCFCFCULL; 43 static const uint64_t ff_pb_FC attribute_used __attribute__ ((aligned(8))) = 0xFCFCFCFCFCFCFCFCULL;
44 44
45 #define JUMPALIGN() __asm __volatile (".balign 8"::) 45 #define JUMPALIGN() __asm __volatile (".balign 8"::)
46 #define MOVQ_ZERO(regd) __asm __volatile ("pxor %%" #regd ", %%" #regd ::) 46 #define MOVQ_ZERO(regd) __asm __volatile ("pxor %%" #regd ", %%" #regd ::)
47 47
48 #define MOVQ_WONE(regd) \ 48 #define MOVQ_WONE(regd) \