some initial math asm for armhf (fabs[f] and sqrt[f])

This commit is contained in:
Rich Felker 2013-08-16 17:32:30 -04:00
parent 4918c2bb20
commit 63893d3ff1
12 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1 @@
../armhf/fabs.s

View File

@ -0,0 +1 @@
../armhf/fabsf.s

View File

@ -0,0 +1 @@
../armhf/sqrt.s

View File

@ -0,0 +1 @@
../armhf/sqrtf.s

6
src/math/armhf/fabs.s Normal file
View 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
View File

@ -0,0 +1 @@
fabs.s

6
src/math/armhf/fabsf.s Normal file
View 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
View File

@ -0,0 +1 @@
fabsf.s

6
src/math/armhf/sqrt.s Normal file
View 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
View File

@ -0,0 +1 @@
sqrt.s

6
src/math/armhf/sqrtf.s Normal file
View 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
View File

@ -0,0 +1 @@
sqrtf.s