1*4e127bceSSean Fertile; RUN: llc -mcpu=pwr7 -mattr=-altivec -verify-machineinstrs \ 2*4e127bceSSean Fertile; RUN: -mtriple=powerpc-unknown-aix < %s | FileCheck %s 3*4e127bceSSean Fertile 4*4e127bceSSean Fertile; RUN: llc -mcpu=pwr7 -mattr=-altivec -verify-machineinstrs \ 5*4e127bceSSean Fertile; RUN: -mtriple=powerpc64-unknown-aix < %s | FileCheck %s 6*4e127bceSSean Fertile 7*4e127bceSSean Fertile 8*4e127bceSSean Fertiledefine dso_local double @test_double(double %a, double %b) { 9*4e127bceSSean Fertileentry: 10*4e127bceSSean Fertile %0 = tail call double asm "fadd. $0,$1,$2\0A", "={f31},d,d,0"(double %a, double %b, double 0.000000e+00) 11*4e127bceSSean Fertile ret double %0 12*4e127bceSSean Fertile} 13*4e127bceSSean Fertile 14*4e127bceSSean Fertile; CHECK-LABEL: test_double 15*4e127bceSSean Fertile; CHECK: #APP 16*4e127bceSSean Fertile; CHECK-NEXT: fadd. 31, 1, 2 17*4e127bceSSean Fertile 18*4e127bceSSean Fertiledefine dso_local signext i32 @test_int(double %a, double %b) { 19*4e127bceSSean Fertileentry: 20*4e127bceSSean Fertile %0 = tail call i32 asm "fadd. $0,$1,$2\0A", "={f0},d,d,0"(double %a, double %b, i32 0) 21*4e127bceSSean Fertile ret i32 %0 22*4e127bceSSean Fertile} 23*4e127bceSSean Fertile 24*4e127bceSSean Fertile; CHECK-LABEL: test_int 25*4e127bceSSean Fertile; CHECK: #APP 26*4e127bceSSean Fertile; CHECK-NEXT: fadd. 0, 1, 2 27