Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 49450
Collapse All | Expand All

(-)avifile-0.7-0.7.38.orig/ffmpeg/libavcodec/i386/dsputil_mmx.c (-2 / +2 lines)
Lines 29-36 Link Here
29
static const uint64_t mm_wone __attribute__ ((aligned(8))) = 0x0001000100010001ULL;
29
static const uint64_t mm_wone __attribute__ ((aligned(8))) = 0x0001000100010001ULL;
30
static const uint64_t mm_wtwo __attribute__ ((aligned(8))) = 0x0002000200020002ULL;
30
static const uint64_t mm_wtwo __attribute__ ((aligned(8))) = 0x0002000200020002ULL;
31
31
32
static const uint64_t ff_pw_20 __attribute__ ((aligned(8))) = 0x0014001400140014ULL;
32
static const uint64_t ff_pw_20 __attribute__ ((aligned(8))) __attribute__((used)) = 0x0014001400140014ULL;
33
static const uint64_t ff_pw_3  __attribute__ ((aligned(8))) = 0x0003000300030003ULL;
33
static const uint64_t ff_pw_3  __attribute__ ((aligned(8))) __attribute__((used)) = 0x0003000300030003ULL;
34
static const uint64_t ff_pw_16 __attribute__ ((aligned(8))) = 0x0010001000100010ULL;
34
static const uint64_t ff_pw_16 __attribute__ ((aligned(8))) = 0x0010001000100010ULL;
35
static const uint64_t ff_pw_15 __attribute__ ((aligned(8))) = 0x000F000F000F000FULL;
35
static const uint64_t ff_pw_15 __attribute__ ((aligned(8))) = 0x000F000F000F000FULL;
36
36
(-)avifile-0.7-0.7.38.orig/ffmpeg/libavcodec/i386/motion_est_mmx.c (-1 / +1 lines)
Lines 26-32 Link Here
26
0x0002000200020002,
26
0x0002000200020002,
27
};
27
};
28
28
29
static __attribute__ ((aligned(8))) uint64_t bone= 0x0101010101010101LL;
29
static __attribute__((aligned(8))) __attribute__((used)) uint64_t bone= 0x0101010101010101LL;
30
30
31
static inline void sad8_mmx(uint8_t *blk1, uint8_t *blk2, int stride, int h)
31
static inline void sad8_mmx(uint8_t *blk1, uint8_t *blk2, int stride, int h)
32
{
32
{
(-)avifile-0.7-0.7.38.orig/ffmpeg/libavcodec/i386/simple_idct_mmx.c (-2 / +2 lines)
Lines 45-52 Link Here
45
#define ROW_SHIFT 11
45
#define ROW_SHIFT 11
46
#define COL_SHIFT 20 // 6
46
#define COL_SHIFT 20 // 6
47
47
48
static const uint64_t __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000ULL;
48
static const uint64_t __attribute__((aligned(8))) __attribute__((used)) wm1010= 0xFFFF0000FFFF0000ULL;
49
static const uint64_t __attribute__((aligned(8))) d40000= 0x0000000000040000ULL;
49
static const uint64_t __attribute__((aligned(8))) __attribute__((used)) d40000= 0x0000000000040000ULL;
50
static int16_t __attribute__((aligned(8))) temp[64];
50
static int16_t __attribute__((aligned(8))) temp[64];
51
static int16_t __attribute__((aligned(8))) coeffs[]= {
51
static int16_t __attribute__((aligned(8))) coeffs[]= {
52
	1<<(ROW_SHIFT-1), 0, 1<<(ROW_SHIFT-1), 0,
52
	1<<(ROW_SHIFT-1), 0, 1<<(ROW_SHIFT-1), 0,
(-)avifile-0.7-0.7.38.orig/ffmpeg/libavcodec/liba52/resample_mmx.c (-4 / +4 lines)
Lines 7-16 Link Here
7
	and it would mean (C / MMX2 / MMX / 3DNOW) versions 
7
	and it would mean (C / MMX2 / MMX / 3DNOW) versions 
8
*/
8
*/
9
9
10
static uint64_t __attribute__((aligned(8))) magicF2W= 0x43c0000043c00000LL;
10
static uint64_t __attribute__((aligned(8))) __attribute__((used)) magicF2W= 0x43c0000043c00000LL;
11
static uint64_t __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000LL;
11
static uint64_t __attribute__((aligned(8))) __attribute__((used)) wm1010= 0xFFFF0000FFFF0000LL;
12
static uint64_t __attribute__((aligned(8))) wm0101= 0x0000FFFF0000FFFFLL;
12
static uint64_t __attribute__((aligned(8))) __attribute__((used)) wm0101= 0x0000FFFF0000FFFFLL;
13
static uint64_t __attribute__((aligned(8))) wm1100= 0xFFFFFFFF00000000LL;
13
static uint64_t __attribute__((aligned(8))) __attribute__((used)) wm1100= 0xFFFFFFFF00000000LL;
14
14
15
static int a52_resample_MONO_to_5_MMX(float * _f, int16_t * s16){
15
static int a52_resample_MONO_to_5_MMX(float * _f, int16_t * s16){
16
    int32_t * f = (int32_t *) _f;
16
    int32_t * f = (int32_t *) _f;
(-)avifile-0.7-0.7.38.orig/plugins/libmp3lame_audioenc/lame3.70/quantize-pvt.c (-5 / +5 lines)
Lines 1007-1024 Link Here
1007
        "dec %4\n\t"
1007
        "dec %4\n\t"
1008
1008
1009
        "movl %5, %%eax\n\t"
1009
        "movl %5, %%eax\n\t"
1010
        "movl 4+%5, %%ebx\n\t"
1010
        "movl 4+%5, %%edx\n\t"
1011
        "fxch %%st(1)\n\t"
1011
        "fxch %%st(1)\n\t"
1012
        "fadd" F8type " (%2,%%eax," F8size ")\n\t"
1012
        "fadd" F8type " (%2,%%eax," F8size ")\n\t"
1013
        "fxch %%st(3)\n\t"
1013
        "fxch %%st(3)\n\t"
1014
        "fadd" F8type " (%2,%%ebx," F8size ")\n\t"
1014
        "fadd" F8type " (%2,%%edx," F8size ")\n\t"
1015
1015
1016
        "movl 8+%5, %%eax\n\t"
1016
        "movl 8+%5, %%eax\n\t"
1017
        "movl 12+%5, %%ebx\n\t"
1017
        "movl 12+%5, %%edx\n\t"
1018
        "fxch %%st(2)\n\t"
1018
        "fxch %%st(2)\n\t"
1019
        "fadd" F8type " (%2,%%eax," F8size ")\n\t"
1019
        "fadd" F8type " (%2,%%eax," F8size ")\n\t"
1020
        "fxch %%st(1)\n\t"
1020
        "fxch %%st(1)\n\t"
1021
        "fadd" F8type " (%2,%%ebx," F8size ")\n\t"
1021
        "fadd" F8type " (%2,%%edx," F8size ")\n\t"
1022
1022
1023
        "fxch %%st(3)\n\t"
1023
        "fxch %%st(3)\n\t"
1024
        "fistpl -16(%3)\n\t"
1024
        "fistpl -16(%3)\n\t"
Lines 1030-1036 Link Here
1030
        "jnz loop1\n\n"
1030
        "jnz loop1\n\n"
1031
        : /* no outputs */
1031
        : /* no outputs */
1032
        : "t" (istep), "r" (xr), "r" (adj43asm), "r" (ix), "r" (576 / 4), "m" (rx)
1032
        : "t" (istep), "r" (xr), "r" (adj43asm), "r" (ix), "r" (576 / 4), "m" (rx)
1033
        : "%eax", "%ebx", "memory", "cc"
1033
        : "%eax", "%edx", "memory", "cc"
1034
      );
1034
      );
1035
  }
1035
  }
1036
#elif defined (USE_MSC_ASM)
1036
#elif defined (USE_MSC_ASM)

Return to bug 49450