ARM: fix av_clipl_int32_arm()

Signed-off-by: Mans Rullgard <mans@mansr.com>
pull/2/head
Mans Rullgard 14 years ago
parent 3d96c13e43
commit 74cc8c52ed
  1. 1
      libavutil/arm/intmath.h

@ -93,6 +93,7 @@ static av_always_inline av_const int32_t av_clipl_int32_arm(int64_t a)
int x, y; int x, y;
__asm__ volatile ("adds %1, %R2, %Q2, lsr #31 \n\t" __asm__ volatile ("adds %1, %R2, %Q2, lsr #31 \n\t"
"mvnne %1, #1<<31 \n\t" "mvnne %1, #1<<31 \n\t"
"moveq %0, %Q2 \n\t"
"eorne %0, %1, %R2, asr #31 \n\t" "eorne %0, %1, %R2, asr #31 \n\t"
: "=r"(x), "=&r"(y) : "r"(a)); : "=r"(x), "=&r"(y) : "r"(a));
return x; return x;

Loading…
Cancel
Save