summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/cortex-m/include/fpu.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/core/cortex-m/include/fpu.h b/core/cortex-m/include/fpu.h
index 0949d336e2..d25e4ee552 100644
--- a/core/cortex-m/include/fpu.h
+++ b/core/cortex-m/include/fpu.h
@@ -12,24 +12,16 @@
static inline float sqrtf(float v)
{
float root;
- asm volatile(
- "fsqrts %0, %1"
- : "=w" (root)
- : "w" (v)
- );
+ asm volatile("fsqrts %0, %1" : "=w"(root) : "w"(v));
return root;
}
static inline float fabsf(float v)
{
float root;
- asm volatile(
- "fabss %0, %1"
- : "=w" (root)
- : "w" (v)
- );
+ asm volatile("fabss %0, %1" : "=w"(root) : "w"(v));
return root;
}
-#endif /* CONFIG_FPU */
+#endif /* CONFIG_FPU */
-#endif /* __CROS_EC_FPU_H */
+#endif /* __CROS_EC_FPU_H */