예제 #1
0
__m128d test_mm_cmpeq_sd(__m128d A, __m128d B) {
  // DAG-LABEL: test_mm_cmpeq_sd
  // DAG: call <2 x double> @llvm.x86.sse2.cmp.sd(<2 x double> %{{.*}}, <2 x double> %{{.*}}, i8 0)
  //
  // ASM-LABEL: test_mm_cmpeq_sd
  // ASM: cmpeqsd
  return _mm_cmpeq_sd(A, B);
}
예제 #2
0
__m128d test_mm_cmpeq_sd(__m128d __a, __m128d __b) {
  // CHECK-LABEL: @test_mm_cmpeq_sd
  // CHECK: @llvm.x86.sse2.cmp.sd(<2 x double> %{{.*}}, <2 x double> %{{.*}}, i8 0)
  return _mm_cmpeq_sd(__a, __b);
}