Home | History | Annotate | Download | only in R600
      1 ; RUN: llc < %s -march=r600 -mcpu=tahiti -verify-machineinstrs | FileCheck %s
      2 
      3 ; CHECK: @fdiv_f64
      4 ; CHECK: V_RCP_F64_e32 {{v\[[0-9]+:[0-9]+\]}}
      5 ; CHECK: V_MUL_F64 {{v\[[0-9]+:[0-9]+\]}}, {{v\[[0-9]+:[0-9]+\]}}, {{v\[[0-9]+:[0-9]+\]}}
      6 
      7 define void @fdiv_f64(double addrspace(1)* %out, double addrspace(1)* %in1,
      8                       double addrspace(1)* %in2) {
      9    %r0 = load double addrspace(1)* %in1
     10    %r1 = load double addrspace(1)* %in2
     11    %r2 = fdiv double %r0, %r1
     12    store double %r2, double addrspace(1)* %out
     13    ret void
     14 }
     15