llvm-project/llvm/test/MC/Mips/macro-dla-bad.s

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
1.1 KiB
ArmAsm
Raw Normal View History

# 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