1# RUN: not llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips1 2>%t1 2# RUN: FileCheck %s < %t1 3 4# FIXME: At the moment we emit the wrong error message if we try to assemble the 5# ll instruction using an unsupported architecture so we just check for "error" 6# and ignore the rest of the message. 7 8 .text 9 .set noreorder 10 .set mips1 11 ll $2,-2($2) # CHECK: error: 12 .set mips2 13 dadd $2,$2,$2 # CHECK: error: instruction requires a CPU feature not currently enabled 14 .set mips3 15 ldxc1 $f8,$2($4) # CHECK: error: instruction requires a CPU feature not currently enabled 16 .set mips4 17 luxc1 $f19,$2($4) # CHECK: error: instruction requires a CPU feature not currently enabled 18 .set mips5 19 clo $2,$2 # CHECK: error: instruction requires a CPU feature not currently enabled 20 .set mips32 21 rotr $2,15 # CHECK: error: instruction requires a CPU feature not currently enabled 22 .set mips32r2 23 mod $2, $4, $6 # CHECK: error:instruction requires a CPU feature not currently enabled 24 .set mips32r6 25 daddi $2, $2, 10 # CHECK: error: instruction requires a CPU feature not currently enabled 26 .set mips64 27 drotr32 $1,$14,15 # CHECK: error: instruction requires a CPU feature not currently enabled 28 .set mips64r2 29 mod $2, $4, $6 # CHECK: error: instruction requires a CPU feature not currently enabled 30 31