1 ; RUN: llc < %s -march=ptx | 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.f32 f0, f1, f2
16 %z = fmul float %x, %y
20 define ptx_device double @t1_f64(double %x, double %y) {
21 ; CHECK: mul.f64 fd0, fd1, fd2
23 %z = fmul double %x, %y
27 define ptx_device float @t2_f32(float %x) {
28 ; CHECK: mul.f32 f0, f1, 0F40A00000;
30 %z = fmul float %x, 5.0
34 define ptx_device double @t2_f64(double %x) {
35 ; CHECK: mul.f64 fd0, fd1, 0D4014000000000000;
37 %z = fmul double %x, 5.0