From: Rich Felker Date: Fri, 16 Aug 2013 21:32:30 +0000 (-0400) Subject: some initial math asm for armhf (fabs[f] and sqrt[f]) X-Git-Tag: v0.9.13~43 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=63893d3ff1f9383ba3ce63a19b7de74ace319d77;p=oweals%2Fmusl.git some initial math asm for armhf (fabs[f] and sqrt[f]) --- 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