1 # RUN: llvm-mc -triple=hexagon -filetype=obj -mhvx %s | llvm-objdump -mhvx -d - | FileCheck %s
3 # Verify that the .align directive emits the proper insn packets.
6 # CHECK: 76414021 { r1 = sub(#1,r1)
7 # CHECK-NEXT: 7f004000 nop
8 # CHECK-NEXT: 7f004000 nop
9 # CHECK-NEXT: 7f00c000 nop }
14 # CHECK: 76414021 { r1 = sub(#1,r1)
15 # CHECK-NEXT: 76424022 r2 = sub(#1,r2)
16 # CHECK-NEXT: 7f004000 nop
17 # CHECK-NEXT: 7f00c000 nop }
23 # CHECK: 76434023 r3 = sub(#1,r3)
24 # CHECK-NEXT: 7f00c000 nop }
32 # Don't pad packets that can't be padded e.g. solo insts
33 # CHECK: 9200c020 { r0 = vextract(v0,r0) }
36 # CHECK: 76414021 { r1 = sub(#1,r1)
37 # CHECK-NEXT: 7f00c000 nop }
40 #CHECK: { r1 = sub(#1,r1)
41 #CHECK: r2 = sub(#1,r2)
42 #CHECK: r3 = sub(#1,r3) }
50 # CHECK: r0 = sub(##1,r0)
52 # CHECK: r1 = sub(##1,r1) }
56 # CHECK: { r0 = sub(#1,r0) }