summaryrefslogtreecommitdiff
path: root/tests/checkasm
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@gmail.com>2017-06-19 10:55:28 +0200
committerMatthieu Bouron <matthieu.bouron@gmail.com>2017-06-22 09:18:10 +0200
commit067e42b851a707924a154c4757516cc488985eb3 (patch)
tree15b5fb90b9cc6f4ed9ee59d25dace314b37f2cf0 /tests/checkasm
parent6f1d2355a7e4d681bea82b4cf4280272d9fe8af3 (diff)
checkasm/aarch64: fix tests returning a float
Avoids overriding the v0 register (which containins the result of the tested function) in checkasm_call_checked.
Diffstat (limited to 'tests/checkasm')
-rw-r--r--tests/checkasm/aarch64/checkasm.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/checkasm/aarch64/checkasm.S b/tests/checkasm/aarch64/checkasm.S
index 53a2a478dc..75a9a56143 100644
--- a/tests/checkasm/aarch64/checkasm.S
+++ b/tests/checkasm/aarch64/checkasm.S
@@ -112,10 +112,10 @@ function checkasm_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