From f0b039146f6f38b88724d73ef41353b56bcfcab8 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 11 Nov 2010 10:35:43 +0000 Subject: [PATCH] - verified sse3+ conditions (no sse3 in original Opterons) Changed files: qt4.spec -> 1.276 --- qt4.spec | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/qt4.spec b/qt4.spec index 0c15210..46e117b 100644 --- a/qt4.spec +++ b/qt4.spec @@ -34,11 +34,11 @@ %bcond_with 3dnow # use 3Dnow instructions %bcond_with sse # use SSE instructions in gui/painting module %bcond_with sse2 # use SSE2 instructions -%bcond_with sse3 # use SSE3 instructions -%bcond_with ssse3 # use SSSE3 instructions -%bcond_with sse41 # use SSE4.1 instructions -%bcond_with sse42 # use SSE4.2 instructions -%bcond_with avx # use AVX instructions (future x86 CPUs only) +%bcond_with sse3 # use SSE3 instructions (since: Intel middle Pentium4, AMD Athlon64) +%bcond_with ssse3 # use SSSE3 instructions (Intel since Core2, Via Nano) +%bcond_with sse41 # use SSE4.1 instructions (Intel since middle Core2) +%bcond_with sse42 # use SSE4.2 instructions (the same) +%bcond_with avx # use AVX instructions (future Intel x86 CPUs only) # %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc %undefine with_ibase @@ -55,12 +55,6 @@ %ifarch pentium4 %{x8664} %define with_sse2 1 %endif -%ifarch %{x8664} -%define with_sse3 1 -%define with_ssse3 1 -%define with_sse41 1 -%define with_sse42 1 -%endif # any SQL %define _withsql 1 %{!?with_sqlite3:%{!?with_sqlite:%{!?with_ibase:%{!?with_mysql:%{!?with_pgsql:%{!?with_odbc:%undefine _withsql}}}}}} -- 2.44.0