1# RUN: llvm-mc -arch=hexagon -mv65 -mhvx -filetype=asm < %s | FileCheck %s
2
3# Test that a slot error is not reported for a packet with a load and a
4# vscatter.
5
6# CHECK: vscatter(r0,m0,v0.h).h = v1
7{
8  v1=vmem(r1+#0)
9  vscatter(r0,m0,v0.h).h=v1
10}
11# CHECK: vscatter(r2,m0,v1:0.w).h += v2
12{
13  v1=vmem(r3+#0)
14  vscatter(r2,m0,v1:0.w).h+=v2
15}
16# CHECK: vmem(r4+#0):scatter_release
17{
18  v1=vmem(r5+#0)
19  vmem(r4+#0):scatter_release
20}
21# CHECK: vmem(r4+#0):scatter_release
22{
23  v1=vmem(r5+#0)
24  vmem(r4+#0):scatter_release
25}
26