1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/MC/Hexagon/vscatter-slot.s
Krzysztof Parzyszek da717aa099 [Hexagon] Add support for Hexagon V65
llvm-svn: 320404
2017-12-11 18:57:54 +00:00

26 lines
515 B
ArmAsm

# RUN: llvm-mc -arch=hexagon -mv65 -mhvx -filetype=asm < %s | FileCheck %s
# Test that a slot error is not reported for a packet with a load and a
# vscatter.
# CHECK: vscatter(r0,m0,v0.h).h = v1
{
v1=vmem(r1+#0)
vscatter(r0,m0,v0.h).h=v1
}
# CHECK: vscatter(r2,m0,v1:0.w).h += v2
{
v1=vmem(r3+#0)
vscatter(r2,m0,v1:0.w).h+=v2
}
# CHECK: vmem(r4+#0):scatter_release
{
v1=vmem(r5+#0)
vmem(r4+#0):scatter_release
}
# CHECK: vmem(r4+#0):scatter_release
{
v1=vmem(r5+#0)
vmem(r4+#0):scatter_release
}