mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-15 02:58:01 +00:00
ARM: remove unnecessary volatile from inline asm
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
5726ec171b
commit
84e4804ad0
@ -97,7 +97,7 @@ static inline av_const int MUL16(int ra, int rb)
|
||||
static inline av_const int mid_pred(int a, int b, int c)
|
||||
{
|
||||
int m;
|
||||
__asm__ volatile (
|
||||
__asm__ (
|
||||
"mov %0, %2 \n\t"
|
||||
"cmp %1, %2 \n\t"
|
||||
"movgt %0, %1 \n\t"
|
||||
|
@ -31,7 +31,7 @@ static inline int vp56_rac_get_prob_armv6(VP56RangeCoder *c, int pr)
|
||||
unsigned high = c->high << shift;
|
||||
unsigned bit;
|
||||
|
||||
__asm__ volatile ("adds %3, %3, %0 \n"
|
||||
__asm__ ("adds %3, %3, %0 \n"
|
||||
"cmpcs %7, %4 \n"
|
||||
"ldrcsh %2, [%4], #2 \n"
|
||||
"rsb %0, %6, #256 \n"
|
||||
@ -63,7 +63,7 @@ static inline int vp56_rac_get_prob_branchy_armv6(VP56RangeCoder *c, int pr)
|
||||
unsigned low;
|
||||
unsigned tmp;
|
||||
|
||||
__asm__ volatile ("adds %3, %3, %0 \n"
|
||||
__asm__ ("adds %3, %3, %0 \n"
|
||||
"cmpcs %7, %4 \n"
|
||||
"ldrcsh %2, [%4], #2 \n"
|
||||
"rsb %0, %6, #256 \n"
|
||||
|
Loading…
Reference in New Issue
Block a user