checkasm/aarch64: fix tests returning a float
Avoids overriding the v0 register (which containins the result of the tested function) in checkasm_call_checked.
This commit is contained in:
parent
6f1d2355a7
commit
067e42b851
@ -112,10 +112,10 @@ function checkasm_checked_call, export=1
|
|||||||
movi v3.8h, #0
|
movi v3.8h, #0
|
||||||
|
|
||||||
.macro check_reg_neon reg1, reg2
|
.macro check_reg_neon reg1, reg2
|
||||||
ldr q0, [x9], #16
|
ldr q1, [x9], #16
|
||||||
uzp1 v1.2d, v\reg1\().2d, v\reg2\().2d
|
uzp1 v2.2d, v\reg1\().2d, v\reg2\().2d
|
||||||
eor v0.16b, v0.16b, v1.16b
|
eor v1.16b, v1.16b, v2.16b
|
||||||
orr v3.16b, v3.16b, v0.16b
|
orr v3.16b, v3.16b, v1.16b
|
||||||
.endm
|
.endm
|
||||||
check_reg_neon 8, 9
|
check_reg_neon 8, 9
|
||||||
check_reg_neon 10, 11
|
check_reg_neon 10, 11
|
||||||
|
Loading…
x
Reference in New Issue
Block a user