2016-04-08 20:15:37 +02:00
|
|
|
# RUN: llvm-mc -arch=hexagon -filetype=obj %s | llvm-objdump -d - | FileCheck %s
|
2016-03-21 21:27:17 +01:00
|
|
|
|
|
|
|
.text
|
|
|
|
# CHECK-LABEL: 0:
|
|
|
|
# CHECK: 2442e106
|
2017-02-10 16:33:13 +01:00
|
|
|
# CHECK: if (!cmp.eq(r1.new,#1)) jump:t 0xc
|
2016-03-21 21:27:17 +01:00
|
|
|
{
|
|
|
|
r1 = zxth(r2)
|
|
|
|
if (!cmp.eq(r1.new, #1)) jump:t .L1
|
|
|
|
}
|
|
|
|
nop
|
|
|
|
.L1:
|
|
|
|
.org 0x10
|
|
|
|
# CHECK-LABEL: 10:
|
|
|
|
# CHECK: 00004020
|
|
|
|
# CHECK: immext(#2048)
|
|
|
|
# CHECK: 2442e118
|
2017-02-10 16:33:13 +01:00
|
|
|
# CHECK: if (!cmp.eq(r1.new,#1)) jump:t 0x81c
|
2016-03-21 21:27:17 +01:00
|
|
|
{
|
|
|
|
r1 = zxth(r2)
|
|
|
|
if (!cmp.eq(r1.new, #1)) jump:t .L2
|
|
|
|
}
|
|
|
|
.org .+2048
|
|
|
|
.L2:
|
|
|
|
|