llvm/test/MC/Hexagon/jumpdoublepound.s
raw| 1 | # RUN: llvm-mc -triple=hexagon -filetype=obj %s -o - | llvm-objdump -d - | FileCheck %s |
| 2 | |
| 3 | # Verify that jump encodes correctly |
| 4 | |
| 5 | |
| 6 | mylabel: |
| 7 | # CHECK: if (p0) jump |
| 8 | if (p0) jump ##mylabel |
| 9 | |
| 10 | # CHECK: if (cmp.gtu(r5.new,r4)) jump:t |
| 11 | { r5 = r4 |
| 12 | if (cmp.gtu(r5.new, r4)) jump:t ##mylabel } |
| 13 |