[llvm-commits] CVS: llvm/test/Regression/CodeGen/ARM/fparith.ll

Rafael Espindola rafael.espindola at gmail.com
Mon Oct 16 14:50:18 PDT 2006



Changes in directory llvm/test/Regression/CodeGen/ARM:

fparith.ll updated: 1.3 -> 1.4
---
Log message:

add fdivs e fdivd


---
Diffs of the changes:  (+15 -1)

 fparith.ll |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletion(-)


Index: llvm/test/Regression/CodeGen/ARM/fparith.ll
diff -u llvm/test/Regression/CodeGen/ARM/fparith.ll:1.3 llvm/test/Regression/CodeGen/ARM/fparith.ll:1.4
--- llvm/test/Regression/CodeGen/ARM/fparith.ll:1.3	Fri Oct 13 12:37:35 2006
+++ llvm/test/Regression/CodeGen/ARM/fparith.ll	Mon Oct 16 16:50:04 2006
@@ -4,7 +4,9 @@
 ; RUN: llvm-as < %s | llc -march=arm | grep fmuls &&
 ; RUN: llvm-as < %s | llc -march=arm | grep fmuld &&
 ; RUN: llvm-as < %s | llc -march=arm | grep fnegs &&
-; RUN: llvm-as < %s | llc -march=arm | grep fnegd
+; RUN: llvm-as < %s | llc -march=arm | grep fnegd &&
+; RUN: llvm-as < %s | llc -march=arm | grep fdivs &&
+; RUN: llvm-as < %s | llc -march=arm | grep fdivd
 
 float %f1(float %a, float %b) {
 entry:
@@ -53,3 +55,15 @@
 	%tmp1 = sub double -0.000000e+00, %a
 	ret double %tmp1
 }
+
+float %f9(float %a, float %b) {
+entry:
+	%tmp1 = div float %a, %b
+	ret float %tmp1
+}
+
+double %f10(double %a, double %b) {
+entry:
+	%tmp1 = div double %a, %b
+	ret double %tmp1
+}






More information about the llvm-commits mailing list