summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/in-asm-f64-reg.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PowerPC/in-asm-f64-reg.ll')
-rw-r--r--test/CodeGen/PowerPC/in-asm-f64-reg.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/in-asm-f64-reg.ll b/test/CodeGen/PowerPC/in-asm-f64-reg.ll
new file mode 100644
index 0000000..1321dfc
--- /dev/null
+++ b/test/CodeGen/PowerPC/in-asm-f64-reg.ll
@@ -0,0 +1,11 @@
+; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s
+
+define void @f() {
+; CHECK: @f
+
+entry:
+ %0 = tail call double* asm sideeffect "qvstfdux $2,$0,$1", "=b,{r7},{f11},0,~{memory}"(i32 64, double undef, double* undef)
+ ret void
+
+; CHECK: qvstfdux 11,{{[0-9]+}},7
+}
OpenPOWER on IntegriCloud