aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/mips4/invalid-mips64-xfail.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Mips/mips4/invalid-mips64-xfail.s')
-rw-r--r--test/MC/Mips/mips4/invalid-mips64-xfail.s22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/MC/Mips/mips4/invalid-mips64-xfail.s b/test/MC/Mips/mips4/invalid-mips64-xfail.s
new file mode 100644
index 0000000..d8ebcd3
--- /dev/null
+++ b/test/MC/Mips/mips4/invalid-mips64-xfail.s
@@ -0,0 +1,22 @@
+# Instructions that are supposed to be invalid but currently aren't
+# This test will XPASS if any insn stops assembling.
+#
+# RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips4 \
+# RUN: 2> %t1
+# RUN: not FileCheck %s < %t1
+# XFAIL: *
+
+# CHECK-NOT: error
+ .set noat
+ deret
+ luxc1 $f19,$s6($s5)
+ madd $s6,$t5
+ madd $zero,$t1
+ maddu $s3,$gp
+ maddu $t8,$s2
+ mfc0 $a2,$14,1
+ msub $s7,$k1
+ msubu $t7,$a1
+ mtc0 $t1,$29,3
+ mul $s0,$s4,$at
+ suxc1 $f12,$k1($t5)