more specific tests of subtarget stuff

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23570 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Lenharth 2005-09-30 20:30:24 +00:00
parent ac35cd207f
commit 542f2df2fa
2 changed files with 11 additions and 2 deletions

View File

@ -1,5 +1,9 @@
; Make sure this testcase codegens to the ctlz instruction ; 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) declare ubyte %llvm.ctlz(ubyte)

View File

@ -1,5 +1,10 @@
; Make sure this testcase codegens to the ctpop instruction ; 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) declare long %llvm.ctpop(long)