aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2007-03-24-InlineAsmVectorOp.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2007-03-24-InlineAsmVectorOp.ll')
-rw-r--r--test/CodeGen/X86/2007-03-24-InlineAsmVectorOp.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2007-03-24-InlineAsmVectorOp.ll b/test/CodeGen/X86/2007-03-24-InlineAsmVectorOp.ll
new file mode 100644
index 0000000..6e1adf8
--- /dev/null
+++ b/test/CodeGen/X86/2007-03-24-InlineAsmVectorOp.ll
@@ -0,0 +1,11 @@
+; RUN: llvm-as < %s | llc -mcpu=yonah -march=x86 | \
+; RUN: grep {cmpltsd %xmm0, %xmm0}
+target datalayout = "e-p:32:32"
+target triple = "i686-apple-darwin9"
+
+
+define void @acoshf() {
+ %tmp19 = tail call <2 x double> asm sideeffect "pcmpeqd $0, $0 \0A\09 cmpltsd $0, $0", "=x,0,~{dirflag},~{fpsr},~{flags}"( <2 x double> zeroinitializer ) ; <<2 x double>> [#uses=0]
+ ret void
+}
+