Misc fixes to MMX/SSE intrinsics: a few small bug fixes, and getting rid 
of calls to builtins for constructs which can be expressed directly.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72979 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Headers/mmintrin.h b/lib/Headers/mmintrin.h
index 339d212..8ea3c47 100644
--- a/lib/Headers/mmintrin.h
+++ b/lib/Headers/mmintrin.h
@@ -415,13 +415,13 @@
 static inline __m64 __attribute__((__always_inline__, __nodebug__))
 _mm_set1_pi16(short __s)
 {
-    return (__m64)(__v4hi){ __s };
+    return (__m64)(__v4hi){ __s, __s, __s, __s };
 }
 
 static inline __m64 __attribute__((__always_inline__, __nodebug__))
 _mm_set1_pi8(char __b)
 {
-    return (__m64)(__v8qi){ __b };
+    return (__m64)(__v8qi){ __b, __b, __b, __b, __b, __b, __b, __b };
 }
 
 static inline __m64 __attribute__((__always_inline__, __nodebug__))