Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: fusl/src/math/arm/sqrt.c

Issue 1724903002: [fusl] Remove code for unsupported architectures (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fusl/src/math/arm/fabsf.c ('k') | fusl/src/math/arm/sqrtf.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/src/math/arm/sqrt.c
diff --git a/fusl/src/math/arm/sqrt.c b/fusl/src/math/arm/sqrt.c
deleted file mode 100644
index 20f559e40375d6a7abe16533e45bd82ab479062a..0000000000000000000000000000000000000000
--- a/fusl/src/math/arm/sqrt.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <math.h>
-
-#if __VFP_FP__ && !__SOFTFP__
-
-double sqrt(double x) {
- __asm__("vsqrt.f64 %P0, %P1" : "=w"(x) : "w"(x));
- return x;
-}
-
-#else
-
-#include "../sqrt.c"
-
-#endif
« no previous file with comments | « fusl/src/math/arm/fabsf.c ('k') | fusl/src/math/arm/sqrtf.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698