mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
x86: Require 7 registers for the cabac asm
The change in599b4c6ef
didn't turn out to work properly on i386 on OS X, where it broke building with PIC enabled. Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from commitf1dba9e498
) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
cd2f7ed000
commit
8349dbfe46
@ -81,7 +81,7 @@
|
||||
"add "tmp" , "low" \n\t"\
|
||||
"1: \n\t"
|
||||
|
||||
#if HAVE_6REGS && !defined(BROKEN_RELOCATIONS)
|
||||
#if HAVE_7REGS && !defined(BROKEN_RELOCATIONS)
|
||||
#define get_cabac_inline get_cabac_inline_x86
|
||||
static av_always_inline int get_cabac_inline_x86(CABACContext *c,
|
||||
uint8_t *const state)
|
||||
@ -98,7 +98,7 @@ static av_always_inline int get_cabac_inline_x86(CABACContext *c,
|
||||
);
|
||||
return bit & 1;
|
||||
}
|
||||
#endif /* HAVE_6REGS && !defined(BROKEN_RELOCATIONS) */
|
||||
#endif /* HAVE_7REGS && !defined(BROKEN_RELOCATIONS) */
|
||||
|
||||
#define get_cabac_bypass_sign get_cabac_bypass_sign_x86
|
||||
static av_always_inline int get_cabac_bypass_sign_x86(CABACContext *c, int val)
|
||||
|
Loading…
Reference in New Issue
Block a user