History

lavc/aacpsdsp: unroll RISC-V V add_squares

This slightly improves performance with the Device Under Test.

Rémi Denis-Courmont committed 3 years ago

Commit 2eb55151 parent be7ac511 file · +2 −2Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/riscv/aacpsdsp_rvv.S+2−2
@@ -22,13 +22,13 @@ · 21 unmodified lines
2222
2323 func ff_ps_add_squares_rvv, zve32f
2424 1:
25− vsetvli t0, a2, e32, m1, ta, ma
25+ vsetvli t0, a2, e32, m4, ta, ma
2626 vlseg2e32.v v24, (a1)
2727 sub a2, a2, t0
2828 vle32.v v16, (a0)
2929 sh3add a1, t0, a1
3030 vfmacc.vv v16, v24, v24
31− vfmacc.vv v16, v25, v25
31+ vfmacc.vv v16, v28, v28
3232 vse32.v v16, (a0)
3333 sh2add a0, t0, a0
3434 bnez a2, 1b

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t