1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i386-unknown-linux-gnu -enable-unsafe-fp-math -mcpu=slm -relocation-model=pic | FileCheck %s --check-prefix=CHECK
4 define fastcc float @foo(float %x) unnamed_addr #0 {
6 ; CHECK: # %bb.0: # %entry
7 ; CHECK-NEXT: calll .L0$pb
8 ; CHECK-NEXT: .cfi_adjust_cfa_offset 4
10 ; CHECK-NEXT: popl %eax
11 ; CHECK-NEXT: .cfi_adjust_cfa_offset -4
13 ; CHECK-NEXT: addl $_GLOBAL_OFFSET_TABLE_+(.Ltmp0-.L0$pb), %eax
14 ; CHECK-NEXT: movss {{.*#+}} xmm1 = mem[0],zero,zero,zero
15 ; CHECK-NEXT: divss %xmm0, %xmm1
16 ; CHECK-NEXT: movaps %xmm1, %xmm0
17 ; CHECK-NEXT: movss %xmm1, (%eax)
20 %div = fdiv fast float 3.0, %x
21 store float %div, ptr undef, align 4