blob: abf4426f1c5ce0e3404d307ece5cb7985e4af86d [file] [log] [blame]
Rafael Espindolaff7e63c2006-10-09 19:15:17 +00001; RUN: llvm-as < %s | llc -march=arm &&
2; RUN: llvm-as < %s | llc -march=arm | grep fadds &&
3; RUN: llvm-as < %s | llc -march=arm | grep faddd &&
4; RUN: llvm-as < %s | llc -march=arm | grep fmuls &&
5; RUN: llvm-as < %s | llc -march=arm | grep fmuld
6
7float %f(float %a, float %b) {
8entry:
9 %tmp = add float %a, %b
10 ret float %tmp
11}
12
13double %g(double %a, double %b) {
14entry:
15 %tmp = add double %a, %b
16 ret double %tmp
17}
18
19float %h(float %a, float %b) {
20entry:
21 %tmp = mul float %a, %b
22 ret float %tmp
23}
24
25double %i(double %a, double %b) {
26entry:
27 %tmp = mul double %a, %b
28 ret double %tmp
29}