mirror of https://git.ffmpeg.org/ffmpeg.git
x86: cabac: change 'a' constraint to 'r' in get_cabac_inline()
Nothing requires this value in %eax. Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
f743595e87
commit
3146a30e61
|
@ -376,7 +376,7 @@ static av_always_inline int get_cabac_inline(CABACContext *c, uint8_t * const st
|
||||||
"movl %2, %a6(%5) \n\t"
|
"movl %2, %a6(%5) \n\t"
|
||||||
"movl %1, %a7(%5) \n\t"
|
"movl %1, %a7(%5) \n\t"
|
||||||
|
|
||||||
:"=&a"(bit), "=&r"(low), "=&r"(range), "=&r"(tmp)
|
:"=&r"(bit), "=&r"(low), "=&r"(range), "=&r"(tmp)
|
||||||
:"r"(state), "r"(c),
|
:"r"(state), "r"(c),
|
||||||
"i"(offsetof(CABACContext, range)), "i"(offsetof(CABACContext, low)),
|
"i"(offsetof(CABACContext, range)), "i"(offsetof(CABACContext, low)),
|
||||||
"i"(offsetof(CABACContext, bytestream))
|
"i"(offsetof(CABACContext, bytestream))
|
||||||
|
|
Loading…
Reference in New Issue