1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=x86_64-unknown-unknown < %s | FileCheck %s
4 define <4 x i32> @test_ueq(<4 x float> %in) {
5 ; CHECK-LABEL: test_ueq:
7 ; CHECK-NEXT: pcmpeqd %xmm0, %xmm0
9 %t0 = fcmp ueq <4 x float> %in, %in
10 %t1 = sext <4 x i1> %t0 to <4 x i32>
14 define <4 x i32> @test_uge(<4 x float> %in) {
15 ; CHECK-LABEL: test_uge:
17 ; CHECK-NEXT: pcmpeqd %xmm0, %xmm0
19 %t0 = fcmp uge <4 x float> %in, %in
20 %t1 = sext <4 x i1> %t0 to <4 x i32>
24 define <4 x i32> @test_ule(<4 x float> %in) {
25 ; CHECK-LABEL: test_ule:
27 ; CHECK-NEXT: pcmpeqd %xmm0, %xmm0
29 %t0 = fcmp ule <4 x float> %in, %in
30 %t1 = sext <4 x i1> %t0 to <4 x i32>
34 define <4 x i32> @test_one(<4 x float> %in) {
35 ; CHECK-LABEL: test_one:
37 ; CHECK-NEXT: xorps %xmm0, %xmm0
39 %t0 = fcmp one <4 x float> %in, %in
40 %t1 = sext <4 x i1> %t0 to <4 x i32>
44 define <4 x i32> @test_ogt(<4 x float> %in) {
45 ; CHECK-LABEL: test_ogt:
47 ; CHECK-NEXT: xorps %xmm0, %xmm0
49 %t0 = fcmp ogt <4 x float> %in, %in
50 %t1 = sext <4 x i1> %t0 to <4 x i32>
54 define <4 x i32> @test_olt(<4 x float> %in) {
55 ; CHECK-LABEL: test_olt:
57 ; CHECK-NEXT: xorps %xmm0, %xmm0
59 %t0 = fcmp olt <4 x float> %in, %in
60 %t1 = sext <4 x i1> %t0 to <4 x i32>