core/minute-ia/include/fpu.h: Format with clang-format
BRANCH=none
TEST=none
@@ -20,11 +20,7 @@ static inline float sqrtf(float v)
float root;
/* root = fsqart (v); */
- asm volatile(
- "fsqrt"
- : "=t" (root)
- : "0" (v)
- );
+ asm volatile("fsqrt" : "=t"(root) : "0"(v));
return root;
}
@@ -34,11 +30,7 @@ static inline float fabsf(float v)
float root;
/* root = fabs (v); */
- asm volatile(
- "fabs"
- : "=t" (root)
- : "0" (v)
- );
+ asm volatile("fabs" : "=t"(root) : "0"(v));
return root;
}
@@ -51,8 +43,7 @@ static inline float logf(float v)
{
float res;
- asm volatile(
- "fldln2\n"
+ asm volatile("fldln2\n"
"fxch\n"
"fyl2x\n"
: "=t"(res)
@@ -70,8 +61,7 @@ static inline float expf(float v)
{
float res;
- asm volatile(
- "fldl2e\n"
+ asm volatile("fldl2e\n"
"fmulp\n"
"fld %%st(0)\n"
"frndint\n"
@@ -97,8 +87,7 @@ static inline float powf(float x, float y)
{
float res;
- asm volatile(
- "fyl2x\n"
+ asm volatile("fyl2x\n"
"fld %%st(0)\n"
"frndint\n"
"fsub %%st,%%st(1)\n"
@@ -128,8 +117,7 @@ static inline float ceilf(float v)
asm volatile("fnstcw %0" : "=m"(control_word));
/* Set Rounding Mode to 10B, round up toward +infinity */
control_word_tmp = (control_word | 0x0800) & 0xfbff;
- asm volatile(
- "fld %3\n"
+ asm volatile("fld %3\n"
"fldcw %1\n"
"frndint\n"
"fldcw %2"
@@ -154,8 +142,7 @@ static inline float atanf(float v)
{
float res;
- asm volatile(
- "fld1\n"
+ asm volatile("fld1\n"
"fpatan\n"
: "=t"(res)
: "0"(v));
