brintos

brintos / llvm-project-archived public Read only

0
0
Text · 783 B · ffed939 Raw
19 lines · plain
1@ PR286472@ RUN: not llvm-mc -triple=thumbv7a-linux-gnueabi -filetype=obj < %s 2>&1 | FileCheck %s3    .text4    .syntax unified5    .balign 26 7@ mov with :upper16: or :lower16: should not match mov with modified immediate8    mov r0, :upper16: sym09@ CHECK: error: invalid instruction, any one of the following would fix this:10@ CHECK: note: instruction requires: arm-mode11@ CHECK: note: invalid operand for instruction12@ CHECK: note: operand must be an immediate in the range [256,65535]13    mov r0, :lower16: sym014@ CHECK: error: invalid instruction, any one of the following would fix this:15@ CHECK: note: instruction requires: arm-mode16@ CHECK: note: invalid operand for instruction17@ CHECK: note: operand must be an immediate in the range [256,65535]18    .equ sym0, 0x01abcdef19