19 lines · plain
1# RUN: not llvm-mc %s -triple=mips -mcpu=mips32r6 2>&1 | \2# RUN: FileCheck %s --check-prefix=MIPS32-OR-R63# RUN: not llvm-mc %s -triple=mips -mcpu=mips32r2 2>&1 | \4# RUN: FileCheck %s --check-prefix=MIPS32-OR-R65# RUN: not llvm-mc %s -triple=mips64 -mcpu=mips64r6 2>&1 | \6# RUN: FileCheck %s --check-prefix=MIPS32-OR-R67# RUN: llvm-mc %s -triple=mips64 -mcpu=mips64r2 2>&1 | \8# RUN: FileCheck %s --check-prefix=MIPS64-NOT-R69 10 .text11 ddivu $25, $1112 # MIPS32-OR-R6: :[[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled13 14 ddivu $25, $015 # MIPS64-NOT-R6: :[[@LINE-1]]:3: warning: division by zero16 17 ddivu $0,$018 # MIPS64-NOT-R6: :[[@LINE-1]]:3: warning: dividing zero by zero19