projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7da0d82
)
Only set HAVE_MMX when a supported CPU is specified
author
Måns Rullgård
<mans@mansr.com>
Mon, 18 Jan 2010 01:25:57 +0000
(
01:25
+0000)
committer
Måns Rullgård
<mans@mansr.com>
Mon, 18 Jan 2010 01:25:57 +0000
(
01:25
+0000)
Originally committed as revision 21277 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
098041d
..
6c35fc3
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-1789,8
+1789,12
@@
case $cpu in
cpuflags="-mcpu=cell"
enable ldbrx
;;
+ i[345]86|pentium)
+ cpuflags="-march=$cpu"
+ disable mmx
+ ;;
# targets that do NOT support conditional mov (cmov)
-
i[345]86|pentium|
pentium-mmx|k6|k6-[23]|winchip-c6|winchip2|c3)
+ pentium-mmx|k6|k6-[23]|winchip-c6|winchip2|c3)
cpuflags="-march=$cpu"
disable cmov
;;