[MPlayer-dev-eng] [PATCH] Enable FTZ/DAZ for SSE

Zuxy Meng zuxy.meng at gmail.com
Tue Mar 6 12:45:20 CET 2007


Hi,

GCC has recently implemented FTZ/DAZ optimization
(http://gcc.gnu.org/ml/gcc/2005-08/msg00281.html) which is turned on
by -ffast-math or -funsafe-math-optimizations; hence the patch.

-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile	?????? 22476??
+++ Makefile	????????????
@@ -230,10 +230,10 @@
 	$(MAKE) -C libmenu
 
 mplayer$(EXESUF): $(MPLAYER_DEPS)
-	$(CC) -o $@ $^ $(LDFLAGS_MPLAYER)
+	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS_MPLAYER)
 
 mencoder$(EXESUF): $(MENCODER_DEPS)
-	$(CC) -o $@ $^ $(LDFLAGS_MENCODER)
+	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS_MENCODER)
 
 codec-cfg$(EXESUF): codec-cfg.c codec-cfg.h help_mp.h
 	$(HOST_CC) -I. -DCODECS2HTML $< -o $@
@@ -342,7 +342,7 @@
 	@echo "############################################################"
 
 # rebuild at every config.h/config.mak/Makefile change:
-version.h: config.h config.mak Makefile
+version.h: .svn/entries
 	./version.sh `$(CC) -dumpversion`
 
 doxygen:


More information about the MPlayer-dev-eng mailing list