mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 08:44:48 +00:00
more specific tests of subtarget stuff
llvm-svn: 23570
This commit is contained in:
parent
901ca061fd
commit
73913b88bb
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user