[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/rdtsc.ll
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Sun Nov 20 13:42:11 PST 2005
Changes in directory llvm/test/Regression/CodeGen/X86:
rdtsc.ll added (r1.1)
---
Log message:
check that rdtsc is generated from readcyclecounter
---
Diffs of the changes: (+10 -0)
rdtsc.ll | 10 ++++++++++
1 files changed, 10 insertions(+)
Index: llvm/test/Regression/CodeGen/X86/rdtsc.ll
diff -c /dev/null llvm/test/Regression/CodeGen/X86/rdtsc.ll:1.1
*** /dev/null Sun Nov 20 15:42:09 2005
--- llvm/test/Regression/CodeGen/X86/rdtsc.ll Sun Nov 20 15:41:59 2005
***************
*** 0 ****
--- 1,10 ----
+ ; RUN: llvm-as < %s | llc -march=x86 | grep rptsc
+
+ declare ulong %llvm.readcyclecounter()
+
+ void %foo() {
+ entry:
+ %tmp.1 = call ulong %llvm.readcyclecounter ()
+ ret void
+ }
+
More information about the llvm-commits
mailing list