llvm.org GIT mirror llvm / d627819 test / MC / ARM / gas-compl-mem-offset-paren.s
d627819

Tree @d627819 (Download .tar.gz)

gas-compl-mem-offset-paren.s @d627819raw · history · blame

@ 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))]