brintos

brintos / llvm-project-archived public Read only

0
0
Text · 688 B · 24f24a7 Raw
20 lines · plain
1# RUN: llvm-mc -triple=hexagon -mcpu=hexagonv65 -filetype=obj %s | llvm-objdump --no-print-imm-hex --mcpu=hexagonv65 -d - | FileCheck --implicit-check-not='{' %s2 3# This case requires compounding only some of the instructions which are4# possible compounds.  Compounding all possible opcodes is ideal for code size5# but does not always result in a packet with a valid shuffle, whereas the6# non-compounded instructions may be a valid shuffle.7 8foo:9{ r0=c010  p0=cmp.eq(r0,#0); if (p0.new) jump:nt foo11  jump foo12  r1=r0 }13 14# CHECK-LABEL:  <foo>:15# CHECK-NEXT:  { r0 = sa016# CHECK-NEXT:    p0 = cmp.eq(r0,#0); if (p0.new) jump:nt 0x017# CHECK-NEXT:    jump 0x018# CHECK-NEXT:    r1 = r0 }19 20