mirror of
https://github.com/fluencelabs/musl
synced 2025-04-25 07:12:15 +00:00
some initial math asm for armhf (fabs[f] and sqrt[f])
This commit is contained in:
parent
4918c2bb20
commit
63893d3ff1
1
src/math/armebhf/fabs.sub
Normal file
1
src/math/armebhf/fabs.sub
Normal file
@ -0,0 +1 @@
|
|||||||
|
../armhf/fabs.s
|
1
src/math/armebhf/fabsf.sub
Normal file
1
src/math/armebhf/fabsf.sub
Normal file
@ -0,0 +1 @@
|
|||||||
|
../armhf/fabsf.s
|
1
src/math/armebhf/sqrt.sub
Normal file
1
src/math/armebhf/sqrt.sub
Normal file
@ -0,0 +1 @@
|
|||||||
|
../armhf/sqrt.s
|
1
src/math/armebhf/sqrtf.sub
Normal file
1
src/math/armebhf/sqrtf.sub
Normal file
@ -0,0 +1 @@
|
|||||||
|
../armhf/sqrtf.s
|
6
src/math/armhf/fabs.s
Normal file
6
src/math/armhf/fabs.s
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
.text
|
||||||
|
.global fabs
|
||||||
|
.type fabs,%function
|
||||||
|
fabs:
|
||||||
|
vabs.f64 d0, d0
|
||||||
|
bx lr
|
1
src/math/armhf/fabs.sub
Normal file
1
src/math/armhf/fabs.sub
Normal file
@ -0,0 +1 @@
|
|||||||
|
fabs.s
|
6
src/math/armhf/fabsf.s
Normal file
6
src/math/armhf/fabsf.s
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
.text
|
||||||
|
.global fabsf
|
||||||
|
.type fabsf,%function
|
||||||
|
fabsf:
|
||||||
|
vabs.f32 s0, s0
|
||||||
|
bx lr
|
1
src/math/armhf/fabsf.sub
Normal file
1
src/math/armhf/fabsf.sub
Normal file
@ -0,0 +1 @@
|
|||||||
|
fabsf.s
|
6
src/math/armhf/sqrt.s
Normal file
6
src/math/armhf/sqrt.s
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
.text
|
||||||
|
.global sqrt
|
||||||
|
.type sqrt,%function
|
||||||
|
sqrt:
|
||||||
|
vsqrt.f64 d0, d0
|
||||||
|
bx lr
|
1
src/math/armhf/sqrt.sub
Normal file
1
src/math/armhf/sqrt.sub
Normal file
@ -0,0 +1 @@
|
|||||||
|
sqrt.s
|
6
src/math/armhf/sqrtf.s
Normal file
6
src/math/armhf/sqrtf.s
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
.text
|
||||||
|
.global sqrtf
|
||||||
|
.type sqrtf,%function
|
||||||
|
sqrtf:
|
||||||
|
vsqrt.f32 s0, s0
|
||||||
|
bx lr
|
1
src/math/armhf/sqrtf.sub
Normal file
1
src/math/armhf/sqrtf.sub
Normal file
@ -0,0 +1 @@
|
|||||||
|
sqrtf.s
|
Loading…
x
Reference in New Issue
Block a user