1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -O0 -mattr=+avx512f < %s | FileCheck %s
4 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
5 target triple = "x86_64-apple-macosx10.11.0"
7 define i32 @test(float %a, float %b) {
10 ; CHECK-NEXT: pushq %rax
11 ; CHECK-NEXT: .cfi_def_cfa_offset 16
12 ; CHECK-NEXT: vucomiss %xmm1, %xmm0
13 ; CHECK-NEXT: sete %al
14 ; CHECK-NEXT: setnp %cl
15 ; CHECK-NEXT: andb %cl, %al
16 ; CHECK-NEXT: xorb $-1, %al
17 ; CHECK-NEXT: testb $1, %al
18 ; CHECK-NEXT: jne LBB0_1
19 ; CHECK-NEXT: jmp LBB0_2
20 ; CHECK-NEXT: LBB0_1: ## %L_0
21 ; CHECK-NEXT: callq ___assert_rtn
23 ; CHECK-NEXT: LBB0_2: ## %L_1
24 ; CHECK-NEXT: xorl %eax, %eax
25 ; CHECK-NEXT: popq %rcx
27 %x10 = fcmp oeq float %a, %b
28 %x11 = xor i1 %x10, true
29 br i1 %x11, label %L_0, label %L_1
32 call void @__assert_rtn()
39 ; Function Attrs: noreturn
40 declare void @__assert_rtn()