summaryrefslogtreecommitdiff
path: root/debian/patches/disable-sse2-old-x86.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/disable-sse2-old-x86.diff')
-rw-r--r--debian/patches/disable-sse2-old-x86.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/disable-sse2-old-x86.diff b/debian/patches/disable-sse2-old-x86.diff
new file mode 100644
index 0000000..fceb368
--- /dev/null
+++ b/debian/patches/disable-sse2-old-x86.diff
@@ -0,0 +1,13 @@
+Index: llvm-toolchain-snapshot_8~svn349138/clang/include/clang/Basic/X86Target.def
+===================================================================
+--- llvm-toolchain-snapshot_8~svn349138.orig/clang/include/clang/Basic/X86Target.def
++++ llvm-toolchain-snapshot_8~svn349138/clang/include/clang/Basic/X86Target.def
+@@ -302,7 +302,7 @@ CPU_SPECIFIC("pentium_mmx", 'D', "+mmx")
+ CPU_SPECIFIC("pentium_ii", 'E', "+cmov,+mmx")
+ CPU_SPECIFIC("pentium_iii", 'H', "+cmov,+mmx,+sse")
+ CPU_SPECIFIC("pentium_iii_no_xmm_regs", 'H',"+cmov,+sse")
+-CPU_SPECIFIC("pentium_4", 'J', "+cmov,+mmx,+sse,+sse2")
++CPU_SPECIFIC("pentium_4", 'J', "+cmov,+mmx,+sse")
+ CPU_SPECIFIC("pentium_m", 'K', "+cmov,+mmx,+sse,+sse2")
+ CPU_SPECIFIC("pentium_4_sse3", 'L', "+cmov,+mmx,+sse,+sse2,+sse3")
+ CPU_SPECIFIC("core_2_duo_ssse3", 'M', "+cmov,+mmx,+sse,+sse2,+sse3,+ssse3")