summaryrefslogtreecommitdiff
path: root/test/MC/Mips/macro-ddivu-bad.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Mips/macro-ddivu-bad.s')
-rw-r--r--test/MC/Mips/macro-ddivu-bad.s16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/MC/Mips/macro-ddivu-bad.s b/test/MC/Mips/macro-ddivu-bad.s
index 7a6c7e0bd528..1abcab66142f 100644
--- a/test/MC/Mips/macro-ddivu-bad.s
+++ b/test/MC/Mips/macro-ddivu-bad.s
@@ -1,18 +1,18 @@
# RUN: not llvm-mc %s -arch=mips -mcpu=mips32r6 2>&1 | \
-# RUN: FileCheck %s --check-prefix=R6
+# RUN: FileCheck %s --check-prefix=MIPS32-OR-R6
+# RUN: not llvm-mc %s -arch=mips -mcpu=mips32r2 2>&1 | \
+# RUN: FileCheck %s --check-prefix=MIPS32-OR-R6
# RUN: not llvm-mc %s -arch=mips64 -mcpu=mips64r6 2>&1 | \
-# RUN: FileCheck %s --check-prefix=R6
-# RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 2>&1 | \
-# RUN: FileCheck %s --check-prefix=NOT-R6
+# RUN: FileCheck %s --check-prefix=MIPS32-OR-R6
# RUN: llvm-mc %s -arch=mips64 -mcpu=mips64r2 2>&1 | \
-# RUN: FileCheck %s --check-prefix=NOT-R6
+# RUN: FileCheck %s --check-prefix=MIPS64-NOT-R6
.text
ddivu $25, $11
- # R6: :[[@LINE-1]]:3: error: instruction not supported on mips32r6 or mips64r6
+ # MIPS32-OR-R6: :[[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
ddivu $25, $0
- # NOT-R6: :[[@LINE-1]]:3: warning: division by zero
+ # MIPS64-NOT-R6: :[[@LINE-1]]:3: warning: division by zero
ddivu $0,$0
- # NOT-R6: :[[@LINE-1]]:3: warning: dividing zero by zero
+ # MIPS64-NOT-R6: :[[@LINE-1]]:3: warning: dividing zero by zero