Changes in directory llvm/test/Regression/CodeGen/ARM:
fparith.ll added (r1.1) --- Log message: add some tests for floating point arithmetic --- Diffs of the changes: (+29 -0) fparith.ll | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+) Index: llvm/test/Regression/CodeGen/ARM/fparith.ll diff -c /dev/null llvm/test/Regression/CodeGen/ARM/fparith.ll:1.1 *** /dev/null Mon Oct 9 14:15:27 2006 --- llvm/test/Regression/CodeGen/ARM/fparith.ll Mon Oct 9 14:15:17 2006 *************** *** 0 **** --- 1,29 ---- + ; RUN: llvm-as < %s | llc -march=arm && + ; RUN: llvm-as < %s | llc -march=arm | grep fadds && + ; RUN: llvm-as < %s | llc -march=arm | grep faddd && + ; RUN: llvm-as < %s | llc -march=arm | grep fmuls && + ; RUN: llvm-as < %s | llc -march=arm | grep fmuld + + float %f(float %a, float %b) { + entry: + %tmp = add float %a, %b + ret float %tmp + } + + double %g(double %a, double %b) { + entry: + %tmp = add double %a, %b + ret double %tmp + } + + float %h(float %a, float %b) { + entry: + %tmp = mul float %a, %b + ret float %tmp + } + + double %i(double %a, double %b) { + entry: + %tmp = mul double %a, %b + ret double %tmp + } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits