diff options
| author | Andrew Lenharth <andrewl@lenharth.org> | 2005-09-30 20:30:24 +0000 |
|---|---|---|
| committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-09-30 20:30:24 +0000 |
| commit | 5b8bd94ab20c3a230dc2d613a317dcbc888bc510 (patch) | |
| tree | 2a38f65e7be2968435a75c410e8579a204a286fa /llvm/test/Regression/CodeGen/Alpha | |
| parent | 49e48f6234cff55ecf2844c305ae08817664c4b4 (diff) | |
| download | bcm5719-llvm-5b8bd94ab20c3a230dc2d613a317dcbc888bc510.tar.gz bcm5719-llvm-5b8bd94ab20c3a230dc2d613a317dcbc888bc510.zip | |
more specific tests of subtarget stuff
llvm-svn: 23570
Diffstat (limited to 'llvm/test/Regression/CodeGen/Alpha')
| -rw-r--r-- | llvm/test/Regression/CodeGen/Alpha/ctlz.ll | 6 | ||||
| -rw-r--r-- | llvm/test/Regression/CodeGen/Alpha/ctpop.ll | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/llvm/test/Regression/CodeGen/Alpha/ctlz.ll b/llvm/test/Regression/CodeGen/Alpha/ctlz.ll index 390825ce1b0..8b6526a8cd7 100644 --- a/llvm/test/Regression/CodeGen/Alpha/ctlz.ll +++ b/llvm/test/Regression/CodeGen/Alpha/ctlz.ll @@ -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) diff --git a/llvm/test/Regression/CodeGen/Alpha/ctpop.ll b/llvm/test/Regression/CodeGen/Alpha/ctpop.ll index 9209bf20802..7da46df16ab 100644 --- a/llvm/test/Regression/CodeGen/Alpha/ctpop.ll +++ b/llvm/test/Regression/CodeGen/Alpha/ctpop.ll @@ -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) |

