Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@gmail.com>2020-05-12 13:57:31 +0300
committerMartin Storsjö <martin@martin.st>2020-05-13 12:23:54 +0300
commit4e251db1ec60f73166db2cd5e9ef582de9a46f86 (patch)
tree8c1770bc0652861559510ad7dcb2f6bcfd5211cf /tests
parentca38f0f6200fdaaccdda3969794afe16328c4ca8 (diff)
checkasm: arm64: Avoid overwriting the v0/q0/d0/s0 register
If functions return a float value, this value is stored in this register.
Diffstat (limited to 'tests')
-rw-r--r--tests/checkasm/arm/checkasm_64.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/checkasm/arm/checkasm_64.S b/tests/checkasm/arm/checkasm_64.S
index 9f3262e..19d8598 100644
--- a/tests/checkasm/arm/checkasm_64.S
+++ b/tests/checkasm/arm/checkasm_64.S
@@ -155,10 +155,10 @@ function checked_call, export=1
movi v3.8h, #0
.macro check_reg_neon reg1, reg2
- ldr q0, [x9], #16
- uzp1 v1.2d, v\reg1\().2d, v\reg2\().2d
- eor v0.16b, v0.16b, v1.16b
- orr v3.16b, v3.16b, v0.16b
+ ldr q1, [x9], #16
+ uzp1 v2.2d, v\reg1\().2d, v\reg2\().2d
+ eor v1.16b, v1.16b, v2.16b
+ orr v3.16b, v3.16b, v1.16b
.endm
check_reg_neon 8, 9
check_reg_neon 10, 11