summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2011-10-02 11:29:03 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-10-02 11:29:03 +0000
commit182a9f9eed7f941b8884885467fbcda0c43b2479 (patch)
tree96d74b3a70cf73f06c8daee75f145590072c849c /legacy
parentc31b6a9dcdd2c4316b1e990cea4c40b6a55670dd (diff)
ok. sse3 OFF for 32bit builds. as we cant guarantee the compiler and
arch does sse3. the wasy sse3 is done makes this stupidly ugly. so too bad for 32bit builds - no sse3 for u unless u specifically enable at build time and then u have a binary that never runs on pre-sse3 chips. SVN revision: 63745
Diffstat (limited to 'legacy')
-rw-r--r--legacy/evas/configure.ac11
1 files changed, 8 insertions, 3 deletions
diff --git a/legacy/evas/configure.ac b/legacy/evas/configure.ac
index 411ef0ea96..10496b2cb2 100644
--- a/legacy/evas/configure.ac
+++ b/legacy/evas/configure.ac
@@ -1225,7 +1225,7 @@ AC_ARG_ENABLE(cpu-sse,
1225build_cpu_sse3="no" 1225build_cpu_sse3="no"
1226case $host_cpu in 1226case $host_cpu in
1227 i*86) 1227 i*86)
1228 build_cpu_sse3="yes" 1228 build_cpu_sse3="no"
1229 ;; 1229 ;;
1230 x86_64) 1230 x86_64)
1231 build_cpu_sse3="yes" 1231 build_cpu_sse3="yes"
@@ -1236,7 +1236,7 @@ case $host_cpu in
1236esac 1236esac
1237AC_MSG_CHECKING(whether to build sse3 code) 1237AC_MSG_CHECKING(whether to build sse3 code)
1238AC_ARG_ENABLE(cpu-sse3, 1238AC_ARG_ENABLE(cpu-sse3,
1239 AS_HELP_STRING([--enable-cpu-sse3],[enable sse3 code]), 1239 AS_HELP_STRING([--enable-cpu-sse3], [enable sse3 code]),
1240 [ 1240 [
1241 if test "x$enableval" = "xyes" ; then 1241 if test "x$enableval" = "xyes" ; then
1242 AC_MSG_RESULT(yes) 1242 AC_MSG_RESULT(yes)
@@ -1264,7 +1264,12 @@ AC_ARG_ENABLE(cpu-sse3,
1264# person building choses to add optimization flags themselves 1264# person building choses to add optimization flags themselves
1265# and decide the minimum baseline cpu arch is X then that's 1265# and decide the minimum baseline cpu arch is X then that's
1266# their business, but NEVEr should it be done here. EVER. 1266# their business, but NEVEr should it be done here. EVER.
1267#EVAS_SSE3_CFLAGS="-msse3 " 1267# i now have to do this due to the way this sse3 code wss done - using
1268# intrinsics and "functions" (opcodes) and types that only compile *IF*
1269# you compile with -msse3. this ALSO tries to optimize REGULAR c code
1270# with sse3 asm.. and this breaks things so badly. so... sse3 will be
1271# off until further notice for 32bit x86.
1272EVAS_SSE3_CFLAGS="-msse3 "
1268if test "x$build_cpu_sse3" = "xyes" ; then 1273if test "x$build_cpu_sse3" = "xyes" ; then
1269 CFLAGS="${CFLAGS} ${EVAS_SSE3_CFLAGS}" 1274 CFLAGS="${CFLAGS} ${EVAS_SSE3_CFLAGS}"
1270fi 1275fi