diff options
author | Bill Wendling <isanbard@gmail.com> | 2007-09-05 04:05:20 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2007-09-05 04:05:20 +0000 |
commit | 21a7194e4b1ea20fa495e03ee3d23a7a184bfca9 (patch) | |
tree | d477ab908e81d4980743ad49c9d67e5999e6fcd5 /test/CodeGen/PowerPC | |
parent | fd067390443943f4d101f8ed063e95b218ed2d8e (diff) | |
download | external_llvm-21a7194e4b1ea20fa495e03ee3d23a7a184bfca9.zip external_llvm-21a7194e4b1ea20fa495e03ee3d23a7a184bfca9.tar.gz external_llvm-21a7194e4b1ea20fa495e03ee3d23a7a184bfca9.tar.bz2 |
Add the 64-bit versions of the DS* Altivec instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41717 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC')
-rw-r--r-- | test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll b/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll new file mode 100644 index 0000000..9c8fa97 --- /dev/null +++ b/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll @@ -0,0 +1,15 @@ +; RUN: llvm-as < %s | llc -march=ppc64 | grep dst | count 4 + +define hidden void @_Z4borkPc(i8* %image) { +entry: + tail call void @llvm.ppc.altivec.dst( i8* %image, i32 8, i32 0 ) + tail call void @llvm.ppc.altivec.dstt( i8* %image, i32 8, i32 0 ) + tail call void @llvm.ppc.altivec.dstst( i8* %image, i32 8, i32 0 ) + tail call void @llvm.ppc.altivec.dststt( i8* %image, i32 8, i32 0 ) + ret void +} + +declare void @llvm.ppc.altivec.dst(i8*, i32, i32) +declare void @llvm.ppc.altivec.dstt(i8*, i32, i32) +declare void @llvm.ppc.altivec.dstst(i8*, i32, i32) +declare void @llvm.ppc.altivec.dststt(i8*, i32, i32) |