1 ; RUN: llc < %s -march=ptx32 | FileCheck %s
3 ;define ptx_device i32 @t1(i32 %x, i32 %y) {
8 ;define ptx_device i32 @t2(i32 %x) {
13 define ptx_device float @t1_f32(float %x, float %y) {
14 ; CHECK: mul.rn.f32 %ret{{[0-9]+}}, %f{{[0-9]+}}, %f{{[0-9]+}}
16 %z = fmul float %x, %y
20 define ptx_device double @t1_f64(double %x, double %y) {
21 ; CHECK: mul.rn.f64 %ret{{[0-9]+}}, %fd{{[0-9]+}}, %fd{{[0-9]+}}
23 %z = fmul double %x, %y
27 define ptx_device float @t2_f32(float %x) {
28 ; CHECK: mul.rn.f32 %ret{{[0-9]+}}, %f{{[0-9]+}}, 0D4014000000000000;
30 %z = fmul float %x, 5.0
34 define ptx_device double @t2_f64(double %x) {
35 ; CHECK: mul.rn.f64 %ret{{[0-9]+}}, %fd{{[0-9]+}}, 0D4014000000000000;
37 %z = fmul double %x, 5.0