llvm-for-llvmta/test/MC/Mips/macro-dla-bad.s

22 lines
1.1 KiB
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: not llvm-mc %s -arch=mips64 -mcpu=mips3 -target-abi n64 2>&1 | \
# RUN: FileCheck %s
.text
.option pic2
dla $5, symbol+0x8000
# CHECK: :[[@LINE-1]]:3: error: macro instruction uses large offset, which is not currently supported
dla $5, symbol-0x8001
# CHECK: :[[@LINE-1]]:3: error: macro instruction uses large offset, which is not currently supported
dla $5, symbol+0x8000($6)
# CHECK: :[[@LINE-1]]:3: error: macro instruction uses large offset, which is not currently supported
dla $5, symbol-0x8001($6)
# CHECK: :[[@LINE-1]]:3: error: macro instruction uses large offset, which is not currently supported
dla $25, symbol+0x8000
# CHECK: :[[@LINE-1]]:3: error: macro instruction uses large offset, which is not currently supported
dla $25, symbol-0x8001
# CHECK: :[[@LINE-1]]:3: error: macro instruction uses large offset, which is not currently supported
dla $25, symbol+0x8000($6)
# CHECK: :[[@LINE-1]]:3: error: macro instruction uses large offset, which is not currently supported
dla $25, symbol-0x8001($6)
# CHECK: :[[@LINE-1]]:3: error: macro instruction uses large offset, which is not currently supported