[llvm-commits] CVS: llvm/test/Regression/CodeGen/ARM/fp.ll
Rafael Espindola
rafael.espindola at gmail.com
Mon Oct 2 12:31:13 PDT 2006
Changes in directory llvm/test/Regression/CodeGen/ARM:
fp.ll updated: 1.1 -> 1.2
---
Log message:
fix the names of the 64bit fp register
initial support for returning 64bit floating point numbers
---
Diffs of the changes: (+10 -2)
fp.ll | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
Index: llvm/test/Regression/CodeGen/ARM/fp.ll
diff -u llvm/test/Regression/CodeGen/ARM/fp.ll:1.1 llvm/test/Regression/CodeGen/ARM/fp.ll:1.2
--- llvm/test/Regression/CodeGen/ARM/fp.ll:1.1 Fri Sep 29 16:20:16 2006
+++ llvm/test/Regression/CodeGen/ARM/fp.ll Mon Oct 2 14:30:56 2006
@@ -1,10 +1,18 @@
; RUN: llvm-as < %s | llc -march=arm &&
-; RUN: llvm-as < %s | llc -march=arm | grep fmsr &&
+; RUN: llvm-as < %s | llc -march=arm | grep fmsr | wc -l | grep 2 &&
; RUN: llvm-as < %s | llc -march=arm | grep fsitos &&
-; RUN: llvm-as < %s | llc -march=arm | grep fmrs
+; RUN: llvm-as < %s | llc -march=arm | grep fmrs &&
+; RUN: llvm-as < %s | llc -march=arm | grep fsitod &&
+; RUN: llvm-as < %s | llc -march=arm | grep fmrrd
float %f(int %a) {
entry:
%tmp = cast int %a to float ; <float> [#uses=1]
ret float %tmp
}
+
+double %g(int %a) {
+entry:
+ %tmp = cast int %a to double ; <double> [#uses=1]
+ ret double %tmp
+}
More information about the llvm-commits
mailing list