more specific tests of subtarget stuff

llvm-svn: 23570
This commit is contained in:
Andrew Lenharth 2005-09-30 20:30:24 +00:00
parent 901ca061fd
commit 73913b88bb
2 changed files with 11 additions and 2 deletions

View 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)

View 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)