Home | History | Annotate | Download | only in AMDGPU
      1 ; RUN: llc -march=r600 -mcpu=cypress -verify-machineinstrs < %s | FileCheck -check-prefix=EG-SAFE -check-prefix=FUNC %s
      2 ; RUN: llc -march=r600 -mcpu=cayman -verify-machineinstrs < %s | FileCheck -check-prefix=EG -check-prefix=FUNC %s
      3 
      4 ; FIXME: Evergreen only ever does unsafe fp math.
      5 ; FUNC-LABEL: {{^}}rcp_pat_f32:
      6 ; EG: RECIP_IEEE
      7 define void @rcp_pat_f32(float addrspace(1)* %out, float %src) nounwind {
      8   %rcp = fdiv float 1.0, %src
      9   store float %rcp, float addrspace(1)* %out, align 4
     10   ret void
     11 }
     12