Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 z3 (4.4.0-2) unstable; urgency=low
 .
   * Build using GCC 5 (Closes: #791318)
   * Added __init__.py. Thanks Andrea Villa for the hints. (Closes: #791604)
   * Use emmintrin.h conditionally only (Closes: #789881)
Author: Michael Tautschnig <mt@debian.org>
Bug-Debian: https://bugs.debian.org/789881
Bug-Debian: https://bugs.debian.org/791318
Bug-Debian: https://bugs.debian.org/791604

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- z3-4.4.0.orig/src/util/hwf.cpp
+++ z3-4.4.0/src/util/hwf.cpp
@@ -45,7 +45,7 @@ Revision History:
 // clear to the compiler what instructions should be used. E.g., for sqrt(), the Windows compiler selects
 // the x87 FPU, even when /arch:SSE2 is on. 
 // Luckily, these are kind of standardized, at least for Windows/Linux/OSX.
-#ifdef __clang__
+#if defined(__clang__) || (defined(__GNUC__) && !defined(__SSE2__))
 #undef USE_INTRINSICS
 #else
 #include <emmintrin.h>
