[FFmpeg-devel] [PATCH v5 1/4] mips: improve detection of ISAs, FPU and ASEs (DSP, MSA)

Michael Niedermayer michael at niedermayer.cc
Thu Jan 7 15:50:04 CET 2016


On Thu, Jan 07, 2016 at 01:52:58PM +0100, Vicente Olivert Riera wrote:
> Hello Michael,
> 
> On 06/01/16 19:09, Michael Niedermayer wrote:
> >On Wed, Jan 06, 2016 at 04:55:26PM +0000, Vicente Olivert Riera wrote:
> >>Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
> >>---
> >>Changes v4 -> v5:
> >>  - Check for msa.h and disable msa if not found.
> >>
> >>Changes v3 -> v4:
> >>  - Nothing.
> >>
> >>Changes v2 -> v3:
> >>  - Nothing.
> >>
> >>Changes v1 -> v2:
> >>  - Add a block of code for mipsdspr2 which was previously placed in the
> >>    first patch of this series causing a syntax error in the configure
> >>    script.
> >>    https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2015-November/183444.html
> >>
> >>  configure | 85 +++++++++++++++++++++++++++++++++++++++++++++++++--------------
> >>  1 file changed, 67 insertions(+), 18 deletions(-)
> >
> >still fails to build:
> >make distclean ; ../configure  --cross-prefix=/usr/mips-linux-gnu/bin/ --cc='ccache mips-linux-gnu-gcc-4.4' --arch=mips --target-os=linux --enable-cross-compile && make -j12
> >...
> >CC      libavcodec/mips/aaccoder_mips.o
> >Assembler messages:
> >Warning: mips1 ISA does not support DSP ASE
> >Warning: mips1 ISA does not support DSP R2 ASE
> >/tmp/ccAm9ayd.s:320: Error: opcode not supported on this processor: mips1 (mips1) `movn $4,$24,$12'
> >/tmp/ccAm9ayd.s:321: Error: opcode not supported on this processor: mips1 (mips1) `movn $9,$25,$13'
> >/tmp/ccAm9ayd.s:322: Error: opcode not supported on this processor: mips1 (mips1) `movn $8,$16,$14'
> >/tmp/ccAm9ayd.s:323: Error: opcode not supported on this processor: mips1 (mips1) `movn $5,$17,$15'
> >/tmp/ccAm9ayd.s:509: Error: opcode not supported on this processor: mips1 (mips1) `movn $4,$24,$11'
> >/tmp/ccAm9ayd.s:510: Error: opcode not supported on this processor: mips1 (mips1) `movn $8,$24,$13'
> >/tmp/ccAm9ayd.s:511: Error: opcode not supported on this processor: mips1 (mips1) `movn $6,$24,$14'
> >/tmp/ccAm9ayd.s:512: Error: opcode not supported on this processor: mips1 (mips1) `movn $5,$24,$15'
> >/tmp/ccAm9ayd.s:707: Error: opcode not supported on this processor: mips1 (mips1) `movn $5,$24,$12'
> >/tmp/ccAm9ayd.s:708: Error: opcode not supported on this processor: mips1 (mips1) `movn $9,$24,$13'
> >/tmp/ccAm9ayd.s:709: Error: opcode not supported on this processor: mips1 (mips1) `movn $4,$24,$14'
> >/tmp/ccAm9ayd.s:710: Error: opcode not supported on this processor: mips1 (mips1) `movn $8,$24,$15'
> >/tmp/ccAm9ayd.s:723: Error: opcode not supported on this processor: mips1 (mips1) `movn $5,$24,$12'
> >...
> >
> >[...]
> >
> 
> could you please run exactly the same but using "make V=1"?

ccache mips-linux-gnu-gcc-4.4 -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -std=c99 -fomit-frame-pointer -fPIC -mhard-float -mdsp -mdspr2 -pthread -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat  -MMD -MF libavcodec/mips/aaccoder_mips.d -MT libavcodec/mips/aaccoder_mips.o -c -o libavcodec/mips/aaccoder_mips.o ./libavcodec/mips/aaccoder_mips.c
Assembler messages:
Warning: mips1 ISA does not support DSP ASE
Warning: mips1 ISA does not support DSP R2 ASE
/tmp/ccnShqaI.s:320: Error: opcode not supported on this processor: mips1 (mips1) `movn $4,$24,$12'
/tmp/ccnShqaI.s:321: Error: opcode not supported on this processor: mips1 (mips1) `movn $9,$25,$13'
/tmp/ccnShqaI.s:322: Error: opcode not supported on this processor: mips1 (mips1) `movn $8,$16,$14'
/tmp/ccnShqaI.s:323: Error: opcode not supported on this processor: mips1 (mips1) `movn $5,$17,$15'
/tmp/ccnShqaI.s:509: Error: opcode not supported on this processor: mips1 (mips1) `movn $4,$24,$11'
/tmp/ccnShqaI.s:510: Error: opcode not supported on this processor: mips1 (mips1) `movn $8,$24,$13'
/tmp/ccnShqaI.s:511: Error: opcode not supported on this processor: mips1 (mips1) `movn $6,$24,$14'


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160107/7da9a78c/attachment.sig>


More information about the ffmpeg-devel mailing list