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