Changes in directory llvm/test/Regression/CodeGen/SparcV8:
ctpop.ll added (r1.1) --- Log message: new testcase --- Diffs of the changes: (+11 -0) ctpop.ll | 11 +++++++++++ 1 files changed, 11 insertions(+) Index: llvm/test/Regression/CodeGen/SparcV8/ctpop.ll diff -c /dev/null llvm/test/Regression/CodeGen/SparcV8/ctpop.ll:1.1 *** /dev/null Mon Jan 30 00:11:46 2006 --- llvm/test/Regression/CodeGen/SparcV8/ctpop.ll Mon Jan 30 00:11:36 2006 *************** *** 0 **** --- 1,11 ---- + ; RUN: llvm-as < %s | llc -march=sparcv8 -mattr=-v9 && + ; RUN: llvm-as < %s | llc -march=sparcv8 -mattr=v9 -enable-sparc-v9-insts && + ; RUN: llvm-as < %s | llc -march=sparcv8 -mattr=-v9 | not grep popc && + ; RUN: llvm-as < %s | llc -march=sparcv8 -mattr=v9 -enable-sparc-v9-insts | grep popc + + declare uint %llvm.ctpop.i32(uint) + uint %test(uint %X) { + %Y = call uint %llvm.ctpop.i32(uint %X) + ret uint %Y + } + _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits