ref: 1ae709dde0a246b94af107091b2f5ecfb739c236
parent: 6ff2b847367d23b63815c4fa9122cd4d3ab94c6a
parent: 03d9f07671bcdab3f2c5358a573fcc32c621c197
author: zhilwang <[email protected]>
date: Wed Jul 9 05:03:14 EDT 2014
Merge pull request #1106 from mstorsjo/fix-aarch64-hadamard Fix WelsHadamardQuant2x2*_AArch64_neon
--- a/codec/encoder/core/arm64/reconstruct_aarch64_neon.S
+++ b/codec/encoder/core/arm64/reconstruct_aarch64_neon.S
@@ -646,7 +646,7 @@
HDM_QUANT_2x2_TOTAL_16BITS v1, v0, v2 // output v0
abs v1.4h, v0.4h
- cmhi v1.4h, v1.4h, v4.4h // abs(dct[i])>threshold;
+ cmhi v0.4h, v1.4h, v4.4h // abs(dct[i])>threshold;
mov w0, v0.s[0]
mov w1, v0.s[1]
orr w0, w0, w1
@@ -687,7 +687,7 @@
DC_ZERO_COUNT_IN_DUALWORD v1, h0, v3
mov x0, v0.d[0]
- mov x1, #16
+ mov x1, #4
subs x0, x1, x0
WELS_ASM_AARCH64_FUNC_END