示例#1
0
__m256d test_mm256_broadcastsd_pd(__m128d a) {
  // check: @llvm.x86.avx2.vbroadcast.sd.pd.256
  return _mm256_broadcastsd_pd(a);
}
示例#2
0
__m256d test_mm256_broadcastsd_pd(__m128d a) {
  // CHECK-LABEL: test_mm256_broadcastsd_pd
  // CHECK-NOT: @llvm.x86.avx2.vbroadcast.sd.pd.256
  // CHECK: shufflevector <2 x double> %{{.*}}, <2 x double> %{{.*}}, <4 x i32> zeroinitializer
  return _mm256_broadcastsd_pd(a);
}