Home | History | Annotate | Download | only in PTX
      1 ; RUN: llc < %s -march=ptx32 -mattr=+sm13 | FileCheck %s
      2 
      3 define ptx_device float @t1_f32(float %x, float %y) {
      4 ; CHECK: div.rn.f32 r{{[0-9]+}}, r{{[0-9]+}}, r{{[0-9]+}};
      5 ; CHECK-NEXT: ret;
      6 	%a = fdiv float %x, %y
      7 	ret float %a
      8 }
      9 
     10 define ptx_device double @t1_f64(double %x, double %y) {
     11 ; CHECK: div.rn.f64 rd{{[0-9]+}}, rd{{[0-9]+}}, rd{{[0-9]+}};
     12 ; CHECK-NEXT: ret;
     13 	%a = fdiv double %x, %y
     14 	ret double %a
     15 }
     16