43 lines · plain
1# RUN: not llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips1 2>%t12# RUN: FileCheck %s < %t13 4# FIXME: At the moment we emit the wrong error message if we try to assemble the5# ll instruction using an unsupported architecture so we just check for "error" 6# and ignore the rest of the message.7 8 .text9 .set noreorder10 .set mips111 ll $2,-2($2) # CHECK: error:12 .set mips213 dadd $2,$2,$2 # CHECK: error: instruction requires a CPU feature not currently enabled14 .set mips315 ldxc1 $f8,$2($4) # CHECK: error: instruction requires a CPU feature not currently enabled16 .set mips417 luxc1 $f19,$2($4) # CHECK: error: instruction requires a CPU feature not currently enabled18 .set mips519 clo $2,$2 # CHECK: error: instruction requires a CPU feature not currently enabled20 .set mips3221 rotr $2,15 # CHECK: error: instruction requires a CPU feature not currently enabled22 .set mips32r223 mod $2, $4, $6 # CHECK: error:instruction requires a CPU feature not currently enabled24 .set mips64r325 .set mips32r326 daddi $2, $2, 10 # CHECK: error: instruction requires a CPU feature not currently enabled27 .set mips64r328 .set mips32r529 daddi $2, $2, 10 # CHECK: error: instruction requires a CPU feature not currently enabled30 .set mips32r631 daddi $2, $2, 10 # CHECK: error: instruction requires a CPU feature not currently enabled32 .set mips6433 drotr32 $1,$14,15 # CHECK: error: instruction requires a CPU feature not currently enabled34 .set mips64r235 mod $2, $4, $6 # CHECK: error: instruction requires a CPU feature not currently enabled36 .set mips64r637 .set mips64r338 mod $2, $4, $6 # CHECK: error: instruction requires a CPU feature not currently enabled39 .set mips64r640 .set mips64r541 mod $2, $4, $6 # CHECK: error: instruction requires a CPU feature not currently enabled42 43