mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 23:31:37 +00:00
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:
parent
ac35cd207f
commit
542f2df2fa
@ -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)
|
||||||
|
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user