[FFmpeg-devel] [PATCH] Revert "libavcodec/mips: Fix specification of instruction name"
Jiaxun Yang
jiaxun.yang at flygoat.com
Fri Jul 23 04:58:47 EEST 2021
在 2021/7/22 下午9:02, yinshiyou-hf at loongson.cn 写道:
> I mean the upstream compiler not support ’pxor‘ yet, not mean MMI.
> upstream gcc supports 'xor' for 2F and 3A is true, user can use it with old version ffmpeg?
> According to the latest instruction mannual, we should use 'pxor' but not 'xor' which is used fir general register.
> It's better add support to the upstream compiler.
>
> > > 3) If you are using on other mips platform which MMI is unsupported, and MMI havn't disabled automaticlly.
> > > we will fix it soon.
> >
> > MMI should be enable for generic MIPS platform as they intend to run on
> > Loongson as well.
> >
> >
> > > 4) on the safe side, I suggest to add pxor instruction check in configure check.
> >
> > Or ifdef for clang only?
> >
> > Thanks.
> >
> I think it's better to add support for upstream compiler.
> To avoid compiler error, we can upload a patch to check 'pxor' in configure first.</jinbo at loongson.cn></jiaxun.yang at flygoat.com></jiaxun.yang at flygoat.com></jinbo at loongson.cn></jiaxun.yang at flygoat.com></jinbo at loongson.cn></ffmpeg-devel at ffmpeg.org></jiaxun.yang at flygoat.com>
Hi,
I'm trying to get that part fixed in upstream toolchain, I wonder that
beside these four instructions, do we have other instructions renamed?
I have a list of MMI instructions sharing name with regular instructions.
add
addu
dadd
sub
subu
dsub
or
sll
dsll
xor
nor
and
srl
dsrl
sra
dsra
sequ
sltu
sleu
seq
slt
sle
Could you please help me check your manual?
Thanks.
- Jiaxun
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list