[llvm-commits] CVS: llvm/test/Regression/CodeGen/ARM/fparith.ll
Rafael Espindola
rafael.espindola at gmail.com
Tue Oct 10 12:35:15 PDT 2006
Changes in directory llvm/test/Regression/CodeGen/ARM:
fparith.ll updated: 1.1 -> 1.2
---
Log message:
add fp sub
---
Diffs of the changes: (+16 -4)
fparith.ll | 20 ++++++++++++++++----
1 files changed, 16 insertions(+), 4 deletions(-)
Index: llvm/test/Regression/CodeGen/ARM/fparith.ll
diff -u llvm/test/Regression/CodeGen/ARM/fparith.ll:1.1 llvm/test/Regression/CodeGen/ARM/fparith.ll:1.2
--- llvm/test/Regression/CodeGen/ARM/fparith.ll:1.1 Mon Oct 9 14:15:17 2006
+++ llvm/test/Regression/CodeGen/ARM/fparith.ll Tue Oct 10 14:35:01 2006
@@ -4,26 +4,38 @@
; RUN: llvm-as < %s | llc -march=arm | grep fmuls &&
; RUN: llvm-as < %s | llc -march=arm | grep fmuld
-float %f(float %a, float %b) {
+float %f1(float %a, float %b) {
entry:
%tmp = add float %a, %b
ret float %tmp
}
-double %g(double %a, double %b) {
+double %f2(double %a, double %b) {
entry:
%tmp = add double %a, %b
ret double %tmp
}
-float %h(float %a, float %b) {
+float %f3(float %a, float %b) {
entry:
%tmp = mul float %a, %b
ret float %tmp
}
-double %i(double %a, double %b) {
+double %f4(double %a, double %b) {
entry:
%tmp = mul double %a, %b
ret double %tmp
}
+
+float %f5(float %a, float %b) {
+entry:
+ %tmp = sub float %a, %b
+ ret float %tmp
+}
+
+double %f6(double %a, double %b) {
+entry:
+ %tmp = sub double %a, %b
+ ret double %tmp
+}
More information about the llvm-commits
mailing list