[mips][microMIPS] Implement LB, LBE, LBU and LBUE instructions
[oota-llvm.git] / test / MC / Mips / macro-li-bad.s
1 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32r2 2>%t1
2 # RUN: FileCheck %s < %t1 --check-prefix=32-BIT
3 # RUN: not llvm-mc %s -arch=mips64 -mcpu=mips64 -target-abi n32 2>&1 | \
4 # RUN:   FileCheck %s --check-prefix=64-BIT
5 # RUN: not llvm-mc %s -arch=mips64 -mcpu=mips64 -target-abi n64 2>&1 | \
6 # RUN:   FileCheck %s --check-prefix=64-BIT
7
8   .text
9   li $5, 0x100000000
10   # 32-BIT: :[[@LINE-1]]:3: error: instruction requires a 32-bit immediate
11   # 64-BIT: :[[@LINE-2]]:3: error: instruction requires a 32-bit immediate