[FFmpeg-devel] [PATCH 1/2] configure: disabled -mips64 option for loongson and remove redundant flags

Michael Niedermayer michaelni at gmx.at
Wed May 13 04:40:28 CEST 2015

On Wed, May 13, 2015 at 10:16:26AM +0800, 周晓勇 wrote:
> @@ -4716,8 +4715,6 @@ elif enabled mips; then
>       check_inline_asm mipsfpu   '"madd.d $f0, $f2, $f4, $f6"'
>      enabled msa       && check_cflags "-mmsa" && check_ldflags "-mmsa" &&
>       check_inline_asm msa       '"addvi.b $w0, $w1, 1"'
> -    enabled loongson3 && add_cflags "-mhard-float" && add_asflags "-mhard-float" &&
> -        check_inline_asm loongson3 '"gsldxc1 $f0, 0($2, $3)"'


the patch removes the code which disabled loongson3 so longson3 is
enabled even on imgtec mips
that is the patch breaks building for imgtec mips

you can probably reproduce it with a cross compiler from

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The bravest are surely those who have the clearest vision
of what is before them, glory and danger alike, and yet
notwithstanding go out to meet it. -- Thucydides
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150513/676562b5/attachment.asc>

More information about the ffmpeg-devel mailing list