aarch64: vp9lpf: Use dup+rev16+uzp1 instead of dup+lsr+dup+trn1
authorMartin Storsjö <martin@martin.st>
Thu, 23 Feb 2017 21:33:58 +0000 (23:33 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 23 Feb 2017 22:03:00 +0000 (00:03 +0200)
commit3bf9c48320f25f3d5557485b0202f22ae60748b0
tree3afc736505a95a080f7b466399aefefcee203d6d
parentc582cb8537367721bb399a5d01b652c20142b756
aarch64: vp9lpf: Use dup+rev16+uzp1 instead of dup+lsr+dup+trn1

This is one cycle faster in total, and three instructions fewer.

Before:
vp9_loop_filter_mix2_v_44_16_neon: 123.2
After:
vp9_loop_filter_mix2_v_44_16_neon: 122.2

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/aarch64/vp9lpf_neon.S