summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 14:44:53 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-01 01:32:38 +0000
commitf21b984b349e1e54f410b17e29dd2970edd99969 (patch)
treeacbd297565bc002bb74c903bed427bd9cc6a7745 /core
parente5e78b3361605d1cc556cbba2b5807c46149a787 (diff)
downloadchrome-ec-f21b984b349e1e54f410b17e29dd2970edd99969.tar.gz
core/riscv-rv32i/math.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: I4868de12dfd49a068733451d00143c6b6f8f7616 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729872 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'core')
-rw-r--r--core/riscv-rv32i/math.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/riscv-rv32i/math.c b/core/riscv-rv32i/math.c
index 591a67eb8f..6630f36ba2 100644
--- a/core/riscv-rv32i/math.c
+++ b/core/riscv-rv32i/math.c
@@ -9,10 +9,7 @@
/* Single precision floating point square root. */
float sqrtf(float x)
{
- asm volatile (
- "fsqrt.s %0, %1"
- : "=f" (x)
- : "f" (x));
+ asm volatile("fsqrt.s %0, %1" : "=f"(x) : "f"(x));
return x;
}