]> granicus.if.org Git - clang/commitdiff
[X86] Also fix the test for _mm512_mullo_epi64 to test the intrinsic instead of a...
authorCraig Topper <craig.topper@intel.com>
Tue, 10 Jul 2018 23:28:05 +0000 (23:28 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 10 Jul 2018 23:28:05 +0000 (23:28 +0000)
This had the same issue I just fixed in r336739. Apparently I copy pasted _mm512_mullo_epi64 when I added _mm512_mullox_epi64.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@336740 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/avx512dq-builtins.c

index e08501b397a0e0cc592977298fb7459553449096..6ac3aff0aa3cd099b4d52c150554f8d8adb3a84a 100644 (file)
@@ -6,7 +6,7 @@
 __m512i test_mm512_mullo_epi64 (__m512i __A, __m512i __B) {
   // CHECK-LABEL: @test_mm512_mullo_epi64
   // CHECK: mul <8 x i64>
-  return (__m512i) ((__v8di) __A * (__v8di) __B);
+  return (__m512i) _mm512_mullo_epi64(__A, __B);
 }
 
 __m512i test_mm512_mask_mullo_epi64 (__m512i __W, __mmask8 __U, __m512i __A, __m512i __B) {