more specific tests of subtarget stuff
authorAndrew Lenharth <andrewl@lenharth.org>
Fri, 30 Sep 2005 20:30:24 +0000 (20:30 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Fri, 30 Sep 2005 20:30:24 +0000 (20:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23570 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Alpha/ctlz.ll
test/CodeGen/Alpha/ctpop.ll

index 390825ce1b0a62f0bfe5ddad6ff060990abc5f24..8b6526a8cd7d3f91eccb6458cc7e227db1235dfc 100644 (file)
@@ -1,5 +1,9 @@
 ; Make sure this testcase codegens to the ctlz instruction
-; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep -i 'ctlz'
+; RUN: llvm-as < %s | llc -march=alpha -mcpu=ev67 | grep -i 'ctlz'
+; RUN: llvm-as < %s | llc -march=alpha -mattr=+CIX | grep -i 'ctlz'
+; RUN: llvm-as < %s | llc -march=alpha -mcpu=ev6 | not grep -i 'ctlz'
+; RUN: llvm-as < %s | llc -march=alpha -mcpu=ev56 | not grep -i 'ctlz'
+; RUN: llvm-as < %s | llc -march=alpha -mattr=-CIX | not grep -i 'ctlz'
 
 declare ubyte %llvm.ctlz(ubyte)
 
index 9209bf2080263e9e003f60aee1a3966d8431dbd8..7da46df16ab1952abe697e0696eb990cfa50622f 100644 (file)
@@ -1,5 +1,10 @@
 ; Make sure this testcase codegens to the ctpop instruction
-; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep -i 'ctpop'
+; RUN: llvm-as < %s | llc -march=alpha -mcpu=ev67 | grep -i 'ctpop'
+; RUN: llvm-as < %s | llc -march=alpha -mattr=+CIX | grep -i 'ctpop'
+; RUN: llvm-as < %s | llc -march=alpha -mcpu=ev6 | not grep -i 'ctpop'
+; RUN: llvm-as < %s | llc -march=alpha -mcpu=ev56 | not grep -i 'ctpop'
+; RUN: llvm-as < %s | llc -march=alpha -mattr=-CIX | not grep -i 'ctpop'
+
 
 declare long %llvm.ctpop(long)