projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b181b8f
)
mathops: change "g" constraint to "rm" in x86-32 version of MUL64().
author
Justin Ruggles
<justin.ruggles@gmail.com>
Tue, 15 Mar 2011 17:35:05 +0000
(13:35 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Tue, 15 Mar 2011 17:43:47 +0000
(13:43 -0400)
The 1-arg imul instruction cannot take an immediate argument, only a register
or memory argument.
libavcodec/x86/mathops.h
patch
|
blob
|
history
diff --git
a/libavcodec/x86/mathops.h
b/libavcodec/x86/mathops.h
index
4e54886
..
b183027
100644
(file)
--- a/
libavcodec/x86/mathops.h
+++ b/
libavcodec/x86/mathops.h
@@
-59,7
+59,7
@@
static av_always_inline av_const int64_t MUL64(int a, int b)
__asm__ (
"imull %2"
:"=A"(rt)
- :"a"(a), "
g
"(b)
+ :"a"(a), "
rm
"(b)
);
return rt;
}