[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / Mips / macro-ddivu-bad.s
blob1abcab66142f32cea14ad8eaed95bb1681f185d0
1 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32r6 2>&1 | \
2 # RUN: FileCheck %s --check-prefix=MIPS32-OR-R6
3 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32r2 2>&1 | \
4 # RUN: FileCheck %s --check-prefix=MIPS32-OR-R6
5 # RUN: not llvm-mc %s -arch=mips64 -mcpu=mips64r6 2>&1 | \
6 # RUN: FileCheck %s --check-prefix=MIPS32-OR-R6
7 # RUN: llvm-mc %s -arch=mips64 -mcpu=mips64r2 2>&1 | \
8 # RUN: FileCheck %s --check-prefix=MIPS64-NOT-R6
10 .text
11 ddivu $25, $11
12 # MIPS32-OR-R6: :[[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
14 ddivu $25, $0
15 # MIPS64-NOT-R6: :[[@LINE-1]]:3: warning: division by zero
17 ddivu $0,$0
18 # MIPS64-NOT-R6: :[[@LINE-1]]:3: warning: dividing zero by zero