Commit 96dea17a authored by Måns Rullgård's avatar Måns Rullgård

ARM: mathops.h whitespace cosmetics

Originally committed as revision 15779 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 7fb94406
...@@ -55,7 +55,7 @@ static inline av_const int64_t MUL64(int a, int b) ...@@ -55,7 +55,7 @@ static inline av_const int64_t MUL64(int a, int b)
{ {
union { uint64_t x; unsigned hl[2]; } x; union { uint64_t x; unsigned hl[2]; } x;
__asm__ ("smull %0, %1, %2, %3" __asm__ ("smull %0, %1, %2, %3"
: "=r"(x.hl[0]), "=r"(x.hl[1]) : "r"(a), "r"(b)); : "=r"(x.hl[0]), "=r"(x.hl[1]) : "r"(a), "r"(b));
return x.x; return x.x;
} }
#define MUL64 MUL64 #define MUL64 MUL64
...@@ -64,7 +64,7 @@ static inline av_const int64_t MAC64(int64_t d, int a, int b) ...@@ -64,7 +64,7 @@ static inline av_const int64_t MAC64(int64_t d, int a, int b)
{ {
union { uint64_t x; unsigned hl[2]; } x = { d }; union { uint64_t x; unsigned hl[2]; } x = { d };
__asm__ ("smlal %0, %1, %2, %3" __asm__ ("smlal %0, %1, %2, %3"
: "+r"(x.hl[0]), "+r"(x.hl[1]) : "r"(a), "r"(b)); : "+r"(x.hl[0]), "+r"(x.hl[1]) : "r"(a), "r"(b));
return x.x; return x.x;
} }
#define MAC64(d, a, b) ((d) = MAC64(d, a, b)) #define MAC64(d, a, b) ((d) = MAC64(d, a, b))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment