Exemplo n.º 1
0
__m128d test_mm_cmpgt_sd(__m128d A, __m128d B) {
  // DAG-LABEL: test_mm_cmpgt_sd
  // DAG: call <2 x double> @llvm.x86.sse2.cmp.sd(<2 x double> %{{.*}}, <2 x double> %{{.*}}, i8 1)
  //
  // ASM-LABEL: test_mm_cmpgt_sd
  // ASM: cmpltsd
  return _mm_cmpgt_sd(A, B);
}
Exemplo n.º 2
0
__m128d test_cmpgt_sd(__m128d a, __m128d b) {
  // CHECK: @llvm.x86.sse2.cmp.sd({{.*}}, i8 1)
  // CHECK: shufflevector <{{.*}}, <2 x i32> <i32 0, i32 3>
  return _mm_cmpgt_sd(a, b);
}
Exemplo n.º 3
0
__m128d test_mm_cmpgt_sd(__m128d __a, __m128d __b) {
  // CHECK-LABEL: @test_mm_cmpgt_sd
  // CHECK: @llvm.x86.sse2.cmp.sd(<2 x double> %{{.*}}, <2 x double> %{{.*}}, i8 1)
  return _mm_cmpgt_sd(__a, __b);
}