[libav-devel] [PATCH 5/5] configure: Simplify MIPS instruction set handling

Martin Storsjö martin at martin.st
Wed Nov 1 23:01:45 CET 2017


On Thu, 26 Oct 2017, Diego Biurrun wrote:

> ---
> configure | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/configure b/configure
> index 9f23883bca..d74386830d 100755
> --- a/configure
> +++ b/configure
> @@ -4264,10 +4264,10 @@ EOF
> 
> elif enabled mips; then
> 
> -    check_inline_asm loongson '"dmult.g $1, $2, $3"'
> +    # make sure that only one instruction set is enabled
> +    disable $ARCH_EXT_LIST_MIPS
> 
> -    # make sure that only an instruction set is enabled
> -    disable mips64r6 mips32r6 mips64r2 mips32r2 mips64r1 mips32r1
> +    check_inline_asm loongson '"dmult.g $1, $2, $3"'
>
>     if enabled mips64; then
>         check_inline_asm mips64r6 '"dlsa $0, $0, $0, 1"' ||
> -- 
> 2.11.0

No clue about mips instruction sets, but I can see that it does seem to 
make sense. If somebody actually would have tested that it still works as 
intened, it'd be good ofc.

// Martin


More information about the libav-devel mailing list