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