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

Rafael Espindola rafael.espindola at gmail.com
Fri Sep 29 14:20:32 PDT 2006



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

fp.ll added (r1.1)
---
Log message:

add floating point registers
implement SINT_TO_FP



---
Diffs of the changes:  (+10 -0)

 fp.ll |   10 ++++++++++
 1 files changed, 10 insertions(+)


Index: llvm/test/Regression/CodeGen/ARM/fp.ll
diff -c /dev/null llvm/test/Regression/CodeGen/ARM/fp.ll:1.1
*** /dev/null	Fri Sep 29 16:20:26 2006
--- llvm/test/Regression/CodeGen/ARM/fp.ll	Fri Sep 29 16:20:16 2006
***************
*** 0 ****
--- 1,10 ----
+ ; RUN: llvm-as < %s | llc -march=arm &&
+ ; RUN: llvm-as < %s | llc -march=arm | grep fmsr &&
+ ; RUN: llvm-as < %s | llc -march=arm | grep fsitos &&
+ ; RUN: llvm-as < %s | llc -march=arm | grep fmrs
+ 
+ float %f(int %a) {
+ entry:
+ 	%tmp = cast int %a to float		; <float> [#uses=1]
+ 	ret float %tmp
+ }






More information about the llvm-commits mailing list