aboutsummaryrefslogtreecommitdiff
path: root/test/MC/Hexagon/jumpdoublepound.s
blob: 6b829360a906fdaeb25c858473f547a31829c2c7 (plain) (blame)
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 }