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
+1
View File
@@ -0,0 +1 @@
../armhf/fabs.s
+1
View File
@@ -0,0 +1 @@
../armhf/fabsf.s
+1
View File
@@ -0,0 +1 @@
../armhf/sqrt.s
+1
View File
@@ -0,0 +1 @@
../armhf/sqrtf.s
+6
View File
@@ -0,0 +1,6 @@
.text
.global fabs
.type fabs,%function
fabs:
vabs.f64 d0, d0
bx lr
+1
View File
@@ -0,0 +1 @@
fabs.s
+6
View File
@@ -0,0 +1,6 @@
.text
.global fabsf
.type fabsf,%function
fabsf:
vabs.f32 s0, s0
bx lr
+1
View File
@@ -0,0 +1 @@
fabsf.s
+6
View File
@@ -0,0 +1,6 @@
.text
.global sqrt
.type sqrt,%function
sqrt:
vsqrt.f64 d0, d0
bx lr
+1
View File
@@ -0,0 +1 @@
sqrt.s
+6
View File
@@ -0,0 +1,6 @@
.text
.global sqrtf
.type sqrtf,%function
sqrtf:
vsqrt.f32 s0, s0
bx lr
+1
View File
@@ -0,0 +1 @@
sqrtf.s