fix GMP base URL
[rofl0r-mmix-cross.git] / patches / musl-1.1.18-arm-asm.diff
blobcbe2381f921443c47987badd6cf0ca804abe7625
1 diff --git a/src/math/arm/fabsf.c b/src/math/arm/fabsf.c
2 index 4a217c98..6eb28e65 100644
3 --- a/src/math/arm/fabsf.c
4 +++ b/src/math/arm/fabsf.c
5 @@ -4,7 +4,7 @@
7 float fabsf(float x)
9 - __asm__ ("vabs.f32 %0, %1" : "=t"(x) : "t"(x));
10 + __asm__ ("vabs.f32 %0, %1" : "=w"(x) : "w"(x));
11 return x;
14 diff --git a/src/math/arm/sqrtf.c b/src/math/arm/sqrtf.c
15 index 32693293..4e2e8d92 100644
16 --- a/src/math/arm/sqrtf.c
17 +++ b/src/math/arm/sqrtf.c
18 @@ -4,7 +4,7 @@
20 float sqrtf(float x)
22 - __asm__ ("vsqrt.f32 %0, %1" : "=t"(x) : "t"(x));
23 + __asm__ ("vsqrt.f32 %0, %1" : "=w"(x) : "w"(x));
24 return x;