1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/MC/Hexagon/hvx-swapped-regpairs-alias-neg.s
Brian Cain 8a9cdbd9d8 [Hexagon] v67+ HVX register pairs should support either direction
Assembler now permits pairs like 'v0:1', which are encoded
differently from the odd-first pairs like 'v1:0'.

The compiler will require more work to leverage these new register
pairs.
2020-02-14 12:43:43 -06:00

16 lines
369 B
ArmAsm

# RUN: not llvm-mc -arch=hexagon -mcpu=hexagonv67 -mhvx -filetype=asm %s 2>%t; FileCheck --implicit-check-not="error:" %s <%t
{
v1:0 = #0
v0:1 = #0
}
# CHECK: error: register `V1' modified more than once
## Unused .tmp:
{
v1.tmp = vmem(r0 + #3)
v0:1 = vaddw(v17:16, v17:16)
}
# CHECK: warning: register `V1' used with `.tmp' but not used in the same packet