summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-03-25 04:35:23 +0000
committerChris Lattner <sabre@nondot.org>2007-03-25 04:35:23 +0000
commiteab65a060c20c1120c233d56177fcfdb996d44a5 (patch)
tree8e11d48e87692103f01fab61ca9f04e9be69692c
parent2f5491791bdb413315691150765919dd4a4fb53d (diff)
downloadllvm-eab65a060c20c1120c233d56177fcfdb996d44a5.tar.gz
llvm-eab65a060c20c1120c233d56177fcfdb996d44a5.tar.bz2
llvm-eab65a060c20c1120c233d56177fcfdb996d44a5.tar.xz
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35326 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll b/test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll
new file mode 100644
index 0000000000..4cfe2dc4eb
--- /dev/null
+++ b/test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll
@@ -0,0 +1,9 @@
+; RUN: llvm-as < %s | llc -march=x86 | grep 'psrlw $8, %xmm0'
+target datalayout = "e-p:32:32"
+target triple = "i686-apple-darwin9"
+
+define void @test() {
+ tail call void asm sideeffect "psrlw $0, %xmm0", "X,~{dirflag},~{fpsr},~{flags}"( i32 8 )
+ ret void
+}
+