llvm-project/llvm/test/MC/ARM/gas-compl-mem-offset-paren.s

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

21 lines
387 B
ArmAsm
Raw Normal View History

@ RUN: llvm-mc -triple=arm-linux-gnueabi < %s | FileCheck %s
@ CHECK: ldr r12, [sp, #15]
ldr r12, [sp, (15)]
@ CHECK: ldr r12, [sp, #15]
ldr r12, [sp, #(15)]
@ CHECK: ldr r12, [sp, #15]
ldr r12, [sp, $(15)]
@ CHECK: ldr r12, [sp, #100]
ldr r12, [sp, (((15+5)*5))]
@ CHECK: ldr r12, [sp, #100]
ldr r12, [sp, #(((15+5)*5))]
@ CHECK: ldr r12, [sp, #100]
ldr r12, [sp, $(((15+5)*5))]