summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Hexagon/jumpdoublepound.s
blob: 8d0eef7fb60a16d845f4d3a5c72794f1c124dced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# RUN: llvm-mc -triple=hexagon -filetype=obj %s -o - | llvm-objdump -d - | FileCheck %s

# Verify that jump encodes correctly


mylabel:
# CHECK: if (p0) jump
if (p0) jump ##mylabel

# CHECK: if (cmp.gtu(r5.new,r4)) jump:t
{ r5 = r4
  if (cmp.gtu(r5.new, r4)) jump:t ##mylabel }

OpenPOWER on IntegriCloud