From: "Rémi Denis-Courmont" <remi@remlab.net> To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH 1/5] lavc/aacpsdsp: simplify R-V V stereo interpolate Date: Fri, 29 Sep 2023 19:26:01 +0300 Message-ID: <20230929162605.80421-1-remi@remlab.net> (raw) Remove some useless vector splat. --- libavcodec/riscv/aacpsdsp_rvv.S | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/libavcodec/riscv/aacpsdsp_rvv.S b/libavcodec/riscv/aacpsdsp_rvv.S index b581383f77..b85a5cc92c 100644 --- a/libavcodec/riscv/aacpsdsp_rvv.S +++ b/libavcodec/riscv/aacpsdsp_rvv.S @@ -238,20 +238,16 @@ func ff_ps_stereo_interpolate_rvv, zve32f flw ft1, 4(a3) vfmv.v.f v19, ft3 flw ft2, 8(a3) - vfmv.v.f v20, ft0 flw ft3, 12(a3) - vfmv.v.f v21, ft1 fcvt.s.wu ft4, t0 // (float)(vlenb / sizeof (float)) - vfmv.v.f v22, ft2 + vfmacc.vf v16, ft0, v24 // h0 += (i + 1) * h0_step fmul.s ft0, ft0, ft4 - vfmv.v.f v23, ft3 + vfmacc.vf v17, ft1, v24 fmul.s ft1, ft1, ft4 - vfmacc.vv v16, v24, v20 // h0 += (i + 1) * h0_step + vfmacc.vf v18, ft2, v24 fmul.s ft2, ft2, ft4 - vfmacc.vv v17, v24, v21 + vfmacc.vf v19, ft3, v24 fmul.s ft3, ft3, ft4 - vfmacc.vv v18, v24, v22 - vfmacc.vv v19, v24, v23 1: vsetvli t0, a4, e32, m1, ta, ma vlseg2e32.v v8, (a0) // v8:l_re, v9:l_im -- 2.40.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next reply other threads:[~2023-09-29 16:26 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-09-29 16:26 Rémi Denis-Courmont [this message] 2023-09-29 16:26 ` [FFmpeg-devel] [PATCH 2/5] lavc/aacpsdsp: unroll " Rémi Denis-Courmont 2023-09-29 16:26 ` [FFmpeg-devel] [PATCH 3/5] lavc/aacpsdsp: unroll RISC-V V mul_pair_single Rémi Denis-Courmont 2023-09-29 16:26 ` [FFmpeg-devel] [PATCH 4/5] lavc/aacpsdsp: unroll RISC-V V hybrid_analysis_ileave Rémi Denis-Courmont 2023-09-29 16:26 ` [FFmpeg-devel] [PATCH 5/5] lavc/aacpsdsp: unroll RISC-V V hybrid_synthesis_deint Rémi Denis-Courmont
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230929162605.80421-1-remi@remlab.net \ --to=remi@remlab.net \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git