[FFmpeg-devel] [PATCH v1] configure: fix mmi check

yinshiyou-hf at loongson.cn yinshiyou-hf at loongson.cn
Fri Jul 23 12:38:38 EEST 2021




> -----原始邮件-----
> 发件人: "Jiaxun Yang" <jiaxun.yang at flygoat.com>
> 发送时间: 2021-07-23 17:27:18 (星期五)
> 收件人: yinshiyou-hf at loongson.cn, "FFmpeg development discussions and patches" <ffmpeg-devel at ffmpeg.org>
> 抄送: "金波" <jinbo at loongson.cn>
> 主题: Re: [FFmpeg-devel] [PATCH v1] configure: fix mmi check
> 
> 
> 在 2021/7/23 17:23, yinshiyou-hf at loongson.cn 写道:
> > > -----原始邮件-----
> > > 发件人: "Jiaxun Yang" <jiaxun.yang at flygoat.com>
> > > 发送时间: 2021-07-23 10:34:37 (星期五)
> > > 收件人: ffmpeg-devel at ffmpeg.org
> > > 抄送:
> > > 主题: Re: [FFmpeg-devel] [PATCH v1] configure: fix mmi check
> > >
> > >
> > > 在 2021/7/23 上午9:39, Jin Bo 写道:
> > > > pxor is loongson media extension instruction, it's not
> > > > supported yet on upstream gcc complier. Disable mmi to
> > > > avoid build error if the compiler does not support it.
> > >
> > > Hi Bo,
> > >
> > > Well I have to repeat that your statement is *NOT* true.
> > >
> > > Upstream GCC *DO* support Loongson MMI.
> > >
> > > Disabling Loongson MMI just because different instruction naming is
> > > unacceptable from my aspect, note that beside usage in your company we
> > > have other distros like Debian and AOSC, they have strict upstream policy .
> > >
> > > My suggestion is to use instruction macro to workaround the problem.
> > >
> > > Thanks.
> > >
> > > - Jiaxun
> > >
> >
> > Let's adjust the commit message and  make it merged or abandon this patch.
> > The main purpose of this patch is to avoid compilation error of ‘pxor’.
> > The best solution of 'pxor' compilation error is to add support in compiler.
> 
> I'll try to come up a workaound in next few days.
> 
> Thanks.
> 
> - Jiaxun
> 
I really don't recommend using ‘xor’ to operate floating-point registers and adding macro to make it too complex.</jiaxun.yang at flygoat.com></jinbo at loongson.cn></ffmpeg-devel at ffmpeg.org></jiaxun.yang at flygoat.com>


More information about the ffmpeg-devel mailing list