Browse Source

Merge remote-tracking branch 'qatar/master'

* qatar/master:
  arm: Only output eabi attributes if building for ELF
  fix scalarproduct_and_madd_int16_altivec() for orders > 16

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
b7c6d1ed90
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      libavcodec/ppc/int_altivec.c
  2. +1
    -1
      libavutil/arm/asm.S

+ 2
- 2
libavcodec/ppc/int_altivec.c View File

@@ -129,8 +129,8 @@ static int32_t scalarproduct_and_madd_int16_altivec(int16_t *v1, const int16_t *
pv1[0] = vec_mladd(t0, muls, i0); pv1[0] = vec_mladd(t0, muls, i0);
pv1[1] = vec_mladd(t1, muls, i1); pv1[1] = vec_mladd(t1, muls, i1);
pv1 += 2; pv1 += 2;
v2 += 8;
v3 += 8;
v2 += 16;
v3 += 16;
} while(--order); } while(--order);
res = vec_splat(vec_sums(res, zero_s32v), 3); res = vec_splat(vec_sums(res, zero_s32v), 3);
vec_ste(res, 0, &ires); vec_ste(res, 0, &ires);


+ 1
- 1
libavutil/arm/asm.S View File

@@ -291,7 +291,7 @@ T sub \rn, \rn, \rm
.endm .endm


#if HAVE_VFP_ARGS #if HAVE_VFP_ARGS
.eabi_attribute 28, 1
ELF .eabi_attribute 28, 1
# define VFP # define VFP
# define NOVFP @ # define NOVFP @
#else #else


Loading…
Cancel
Save