mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 17:33:29 +00:00
10 lines
211 B
ArmAsm
10 lines
211 B
ArmAsm
|
@ PR18931
|
||
|
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj -o - \
|
||
|
@ RUN: | llvm-objdump --disassemble -arch=arm - | FileCheck %s
|
||
|
|
||
|
.text
|
||
|
@ CHECK: cmp r2, #1
|
||
|
cmp r2, #(l2 - l1 + 4) >> 2
|
||
|
l1:
|
||
|
l2:
|