1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl --show-mc-encoding | FileCheck %s
4 ; CHECK: vucomisd {{.*}}encoding: [0x62
5 define double @test1(double %a, double %b) nounwind {
6 %tobool = fcmp une double %a, %b
7 br i1 %tobool, label %l1, label %l2
10 %c = fsub double %a, %b
13 %c1 = fadd double %a, %b
18 ; CHECK: vucomiss {{.*}}encoding: [0x62
19 define float @test2(float %a, float %b) nounwind {
20 %tobool = fcmp olt float %a, %b
21 br i1 %tobool, label %l1, label %l2
24 %c = fsub float %a, %b
27 %c1 = fadd float %a, %b
35 define i32 @test3(float %a, float %b) {
37 %cmp10.i = fcmp oeq float %a, %b
38 %conv11.i = zext i1 %cmp10.i to i32