Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl -mattr=+avx512cd | FileCheck %s
      2 
      3 define <16 x i32> @test_x86_vbroadcastmw_512(i16 %a0) {
      4   ; CHECK: test_x86_vbroadcastmw_512
      5   ; CHECK: vpbroadcastmw2d %k0, %zmm0
      6   %res = call <16 x i32> @llvm.x86.avx512.broadcastmw.512(i16 %a0) ; 
      7   ret <16 x i32> %res
      8 }
      9 declare <16 x i32> @llvm.x86.avx512.broadcastmw.512(i16)
     10 
     11 define <8 x i64> @test_x86_broadcastmb_512(i8 %a0) {
     12   ; CHECK: test_x86_broadcastmb_512
     13   ; CHECK: vpbroadcastmb2q %k0, %zmm0
     14   %res = call <8 x i64> @llvm.x86.avx512.broadcastmb.512(i8 %a0) ; 
     15   ret <8 x i64> %res
     16 }
     17 declare <8 x i64> @llvm.x86.avx512.broadcastmb.512(i8)
     18 
     19