Go to file
Eric Christopher a7260af7e5 Handle sse turning on mmx, but no -mmx not turning off SSE.
Rationale :

// sse3
__m128d test_mm_addsub_pd(__m128d A, __m128d B) {
  return _mm_addsub_pd(A, B);
}

// mmx
void shift(__m64 a, __m64 b, int c) {
  _mm_slli_pi16(a, c);
  _mm_slli_pi32(a, c);
  _mm_slli_si64(a, c);
  _mm_srli_pi16(a, c);
  _mm_srli_pi32(a, c);
  _mm_srli_si64(a, c);
  _mm_srai_pi16(a, c);
  _mm_srai_pi32(a, c);
}

clang -msse3 -mno-mmx file.c -c

For this code we should be able to explicitly turn off MMX
without affecting the compilation of the SSE3 function and then
diagnose and error on compiling the MMX function.

This is a preparatory patch to the actual diagnosis code which is
coming in a future patch. This sets us up to have the correct information
where we need it and verifies that it's being emitted for the backend
to handle.

llvm-svn: 249733
2015-10-08 20:10:18 +00:00
clang Handle sse turning on mmx, but no -mmx not turning off SSE. 2015-10-08 20:10:18 +00:00
clang-tools-extra Adding a checker (cert-err52-cpp) that detects use of setjmp or longjmp in C++ code. Corresponds to the CERT C++ secure coding rule: https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=1834 2015-10-08 19:54:43 +00:00
compiler-rt Revert "[lsan] [aarch64] Add support for AArch64" 2015-10-08 20:08:30 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc integer: remove explicit casts from _MIN definitions 2015-10-06 19:12:12 +00:00
libcxx Mark 2244 as 'Patch Ready', 2477 and 2487 as 'Complete' 2015-10-07 19:45:14 +00:00
libcxxabi Fix incorrect parsing of arguments for nested functions. Reviewed as http://reviews.llvm.org/D13192. Thanks to Anseny Kapoulkine for the patch. 2015-10-08 03:02:09 +00:00
libunwind unwind: Allow the building of libunwind for MIPS. 2015-09-26 18:26:01 +00:00
lld ELF2: Do not pass GotVA because it's accessible as Out<ELFT>::Got->getVA(). 2015-10-08 20:06:07 +00:00
lldb syncsource.py: a specific dir's source_excludes may now include the special entry "<no-defaults>". 2015-10-08 17:43:02 +00:00
llgo [llgo] irgen: always use TargetMachine's data layout 2015-09-25 06:28:14 +00:00
llvm Move the MMX subtarget feature out of the SSE set of features and into 2015-10-08 20:10:06 +00:00
openmp Formatting/Whitespace/Comment changes associated with wait/release improvements. 2015-10-08 19:44:16 +00:00
polly [FIX] Add missing projection for invariant load domains 2015-10-08 11:05:57 +00:00