summaryrefslogtreecommitdiff
path: root/debian/patches/disable-sse2-old-x86.diff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-12-02 17:06:08 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-12-02 17:06:08 +0300
commit18583eaa2c6fa769ce80605422fa10a60d353af7 (patch)
tree4b6730afc2006e86ae8b91c8c4cf52b313b5c188 /debian/patches/disable-sse2-old-x86.diff
downloadllvm-toolchain-8-debian.tar.gz
Import llvm-toolchain-8 (1:8.0.1-4)debian/8.0.1-4debian
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")