1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/MC/Hexagon/capitalizedEndloop.s
Krzysztof Parzyszek 38f471d0d5 [Hexagon] Recognize and handle :endloop01
llvm-svn: 328870
2018-03-30 15:29:47 +00:00

37 lines
818 B
ArmAsm

# RUN: llvm-mc -triple=hexagon -filetype=obj %s | llvm-objdump -d -r - | FileCheck %s
#
# Verify that capitaizled endloops work
{ R0 = mpyi(R0,R0) } : endloop0
{ R0 = mpyi(R0,R0) } : ENDLOOP0
{ R0 = mpyi(R0,R0) }:endloop0
{ R0 = mpyi(R0,R0) } : endloop1
{ R0 = mpyi(R0,R0) } : ENDLOOP1
{ R0 = mpyi(R0,R0) }:endloop1
{ R0 = mpyi(R0,R0) } : endloop01
{ R0 = mpyi(R0,R0) } : ENDLOOP01
{ R0 = mpyi(R0,R0) }:endloop01
{ R0 = mpyi(R0,R0) } : endloop0 : endloop1
{ R0 = mpyi(R0,R0) } : ENDLOOP0 : ENDLOOP1
{ R0 = mpyi(R0,R0) }:endloop0:endloop1
# CHECK: r0 = mpyi(r0,r0)
# CHECK: :endloop0
# CHECK: :endloop0
# CHECK: :endloop0
# CHECK: :endloop1
# CHECK: :endloop1
# CHECK: :endloop1
# CHECK: :endloop01
# CHECK: :endloop01
# CHECK: :endloop01
# CHECK: :endloop01
# CHECK: :endloop01
# CHECK: :endloop01