Re: [FFmpeg-devel] [PATCH] mips: fix build fail on MIPS R6

2023-03-10 Thread Junxian Zhu
because there were no mips maintainer give me any feedback about this patch, so i had to send mail to you On 2023/3/7 02:08, Michael Niedermayer wrote: > On Mon, Mar 06, 2023 at 05:44:55PM +0800, Junxian Zhu wrote: >> Hello, Michael, can you help to review this pacth? It made ffmpeg c

[FFmpeg-devel] [PATCH v3] avcodec/mathops: Optimize generic mid_pred function

2023-03-07 Thread Junxian Zhu
From: Junxian Zhu Rewrite mid_pred function in generic mathops.h, reduce branch jump to improve performance. And because nowadays new version compiler can compile enough short asmbbely code as handwritting in these function, so remove specified optimized mips inline asmbbely mathops.h

Re: [FFmpeg-devel] [PATCH] mips: fix build fail on MIPS R6

2023-03-06 Thread Junxian Zhu
Hello, Michael, can you help to review this pacth? It made ffmpeg compilable on mips r6 platform. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-de

[FFmpeg-devel] [PATCH v3] avcodec/mathops: Optimize generic mid_pred function

2023-03-06 Thread Junxian Zhu
From: Junxian Zhu Rewrite mid_pred function in generic mathops.h, reduce branch jump to improve performance. And because nowadays new version compiler can compile enough short asmbbely code as handwritting in these function, so remove specified optimized mips inline asmbbely mathops.h

[FFmpeg-devel] [PATCH v2] avcodec/mathops: Optimize generic mid_pred function

2023-03-05 Thread Junxian Zhu
From: Junxian Zhu Rewrite mid_pred function in generic mathops.h, reduce branch jump to improve performance. And because nowadays new version compiler can compile enough short asmbbely code as handwritting in these function, so remove specified optimized mips inline asmbbely mathops.h

Re: [FFmpeg-devel] [PATCH] mips: fix build fail on MIPS R6

2023-02-20 Thread Junxian Zhu
Could anyone review this patch and merge it into master? It will fix build failed problems on mips r6 isa platform. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above,

Re: [FFmpeg-devel] [PATCH] avcodec/mathops: Optimize generic mid_pred function

2022-12-04 Thread Junxian Zhu
Compile with generic mid_pred function written in the old way on the mips platform, and objdump its .o file, it will show like this, with more instructions and branch jump. ```code mid_pred(int, int, ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.or

[FFmpeg-devel] [PATCH] mips: fix build fail on MIPS R6

2022-11-30 Thread Junxian Zhu
From: Junxian Zhu Add macro define to avoid causing build fail with incompatible assembler code on MIPS R6. Signed-off-by: Junxian Zhu --- libavcodec/mips/cabac.h | 2 ++ libavcodec/mips/compute_antialias_fixed.h | 2 ++ libavutil/mips/generic_macros_msa.h | 6

[FFmpeg-devel] [PATCH] avcodec/mathops: Optimize generic mid_pred function

2022-11-30 Thread Junxian Zhu
From: Junxian Zhu Rewrite mid_pred function in generic mathops.h, reduce branch jump to improve performance. And because nowadays new version compiler can compile enough short asmbbely code as handwritting in these function, so remove specified optimized mips inline asmbbely mathops.h