extension 32-bit parameters to 64-bit on arm64 assembly function
This commit is contained in:
parent
50daa8f737
commit
0b8cdcaff8
@ -121,6 +121,7 @@ WELS_ASM_AARCH64_FUNC_END
|
|||||||
|
|
||||||
WELS_ASM_AARCH64_FUNC_BEGIN WelsBlockZero8x8_AArch64_neon
|
WELS_ASM_AARCH64_FUNC_BEGIN WelsBlockZero8x8_AArch64_neon
|
||||||
eor v0.16b, v0.16b, v0.16b
|
eor v0.16b, v0.16b, v0.16b
|
||||||
|
SIGN_EXTENSION x1, w1
|
||||||
lsl x1, x1, 1
|
lsl x1, x1, 1
|
||||||
.rept 8
|
.rept 8
|
||||||
st1 {v0.16b}, [x0], x1
|
st1 {v0.16b}, [x0], x1
|
||||||
|
@ -469,7 +469,10 @@ WELS_ASM_AARCH64_FUNC_BEGIN WelsDequantIHadamard4x4_AArch64_neon
|
|||||||
st1 {v0.16b, v1.16b}, [x0]
|
st1 {v0.16b, v1.16b}, [x0]
|
||||||
WELS_ASM_AARCH64_FUNC_END
|
WELS_ASM_AARCH64_FUNC_END
|
||||||
|
|
||||||
|
//void WelsDctT4_AArch64_neon (int16_t* pDct, uint8_t* pPixel1, int32_t iStride1, uint8_t* pPixel2, int32_t iStride2);
|
||||||
WELS_ASM_AARCH64_FUNC_BEGIN WelsDctT4_AArch64_neon
|
WELS_ASM_AARCH64_FUNC_BEGIN WelsDctT4_AArch64_neon
|
||||||
|
SIGN_EXTENSION x2, w2
|
||||||
|
SIGN_EXTENSION x4, w4
|
||||||
LOAD_4x4_DATA_FOR_DCT v0, v1, x1, x2, x3, x4
|
LOAD_4x4_DATA_FOR_DCT v0, v1, x1, x2, x3, x4
|
||||||
usubl v2.8h, v0.8b, v1.8b
|
usubl v2.8h, v0.8b, v1.8b
|
||||||
usubl2 v4.8h, v0.16b, v1.16b
|
usubl2 v4.8h, v0.16b, v1.16b
|
||||||
|
Loading…
Reference in New Issue
Block a user