diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-08-16 17:32:30 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-08-16 17:32:30 -0400 |
commit | 63893d3ff1f9383ba3ce63a19b7de74ace319d77 (patch) | |
tree | dcb9dc2c8ca8b003983df9238ebac6d1dd995301 | |
parent | 4918c2bb206bfaaf5a1f7d3448c2f63d5e2b7d56 (diff) | |
download | musl-63893d3ff1f9383ba3ce63a19b7de74ace319d77.tar.gz musl-63893d3ff1f9383ba3ce63a19b7de74ace319d77.tar.xz musl-63893d3ff1f9383ba3ce63a19b7de74ace319d77.zip |
some initial math asm for armhf (fabs[f] and sqrt[f])
-rw-r--r-- | src/math/armebhf/fabs.sub | 1 | ||||
-rw-r--r-- | src/math/armebhf/fabsf.sub | 1 | ||||
-rw-r--r-- | src/math/armebhf/sqrt.sub | 1 | ||||
-rw-r--r-- | src/math/armebhf/sqrtf.sub | 1 | ||||
-rw-r--r-- | src/math/armhf/fabs.s | 6 | ||||
-rw-r--r-- | src/math/armhf/fabs.sub | 1 | ||||
-rw-r--r-- | src/math/armhf/fabsf.s | 6 | ||||
-rw-r--r-- | src/math/armhf/fabsf.sub | 1 | ||||
-rw-r--r-- | src/math/armhf/sqrt.s | 6 | ||||
-rw-r--r-- | src/math/armhf/sqrt.sub | 1 | ||||
-rw-r--r-- | src/math/armhf/sqrtf.s | 6 | ||||
-rw-r--r-- | src/math/armhf/sqrtf.sub | 1 |
12 files changed, 32 insertions, 0 deletions
diff --git a/src/math/armebhf/fabs.sub b/src/math/armebhf/fabs.sub new file mode 100644 index 00000000..10d9fb7e --- /dev/null +++ b/src/math/armebhf/fabs.sub @@ -0,0 +1 @@ +../armhf/fabs.s diff --git a/src/math/armebhf/fabsf.sub b/src/math/armebhf/fabsf.sub new file mode 100644 index 00000000..940b20bd --- /dev/null +++ b/src/math/armebhf/fabsf.sub @@ -0,0 +1 @@ +../armhf/fabsf.s diff --git a/src/math/armebhf/sqrt.sub b/src/math/armebhf/sqrt.sub new file mode 100644 index 00000000..de2be116 --- /dev/null +++ b/src/math/armebhf/sqrt.sub @@ -0,0 +1 @@ +../armhf/sqrt.s diff --git a/src/math/armebhf/sqrtf.sub b/src/math/armebhf/sqrtf.sub new file mode 100644 index 00000000..150ab9cc --- /dev/null +++ b/src/math/armebhf/sqrtf.sub @@ -0,0 +1 @@ +../armhf/sqrtf.s diff --git a/src/math/armhf/fabs.s b/src/math/armhf/fabs.s new file mode 100644 index 00000000..2bdebff5 --- /dev/null +++ b/src/math/armhf/fabs.s @@ -0,0 +1,6 @@ +.text +.global fabs +.type fabs,%function +fabs: + vabs.f64 d0, d0 + bx lr diff --git a/src/math/armhf/fabs.sub b/src/math/armhf/fabs.sub new file mode 100644 index 00000000..99e87406 --- /dev/null +++ b/src/math/armhf/fabs.sub @@ -0,0 +1 @@ +fabs.s diff --git a/src/math/armhf/fabsf.s b/src/math/armhf/fabsf.s new file mode 100644 index 00000000..35c720fa --- /dev/null +++ b/src/math/armhf/fabsf.s @@ -0,0 +1,6 @@ +.text +.global fabsf +.type fabsf,%function +fabsf: + vabs.f32 s0, s0 + bx lr diff --git a/src/math/armhf/fabsf.sub b/src/math/armhf/fabsf.sub new file mode 100644 index 00000000..c04638ae --- /dev/null +++ b/src/math/armhf/fabsf.sub @@ -0,0 +1 @@ +fabsf.s diff --git a/src/math/armhf/sqrt.s b/src/math/armhf/sqrt.s new file mode 100644 index 00000000..99fe64b9 --- /dev/null +++ b/src/math/armhf/sqrt.s @@ -0,0 +1,6 @@ +.text +.global sqrt +.type sqrt,%function +sqrt: + vsqrt.f64 d0, d0 + bx lr diff --git a/src/math/armhf/sqrt.sub b/src/math/armhf/sqrt.sub new file mode 100644 index 00000000..25de7cfa --- /dev/null +++ b/src/math/armhf/sqrt.sub @@ -0,0 +1 @@ +sqrt.s diff --git a/src/math/armhf/sqrtf.s b/src/math/armhf/sqrtf.s new file mode 100644 index 00000000..9ea519f6 --- /dev/null +++ b/src/math/armhf/sqrtf.s @@ -0,0 +1,6 @@ +.text +.global sqrtf +.type sqrtf,%function +sqrtf: + vsqrt.f32 s0, s0 + bx lr diff --git a/src/math/armhf/sqrtf.sub b/src/math/armhf/sqrtf.sub new file mode 100644 index 00000000..3bcbac87 --- /dev/null +++ b/src/math/armhf/sqrtf.sub @@ -0,0 +1 @@ +sqrtf.s |