llvm/test/MC/Hexagon/dcfetch.s
raw| 1 | # RUN: llvm-mc -triple=hexagon -filetype=obj -mno-pairing %s -o %t; llvm-objdump -d %t | FileCheck %s |
| 2 | |
| 3 | # Check that DCFETCH is correctly shuffled. |
| 4 | |
| 5 | { dcfetch(r2 + #0); r1 = memw(r2) } |
| 6 | # CHECK: 9402c000 |
| 7 | |
| 8 | # Bug 17424: This should be a legal packet |
| 9 | { |
| 10 | P3 = SP1LOOP0(#8,R18) |
| 11 | R7:6 = MEMUBH(R4++#4) |
| 12 | R13:12 = VALIGNB(R11:10,R9:8,P2) |
| 13 | DCFETCH(R5+#(8+0)) |
| 14 | } |
| 15 | # CHECK-NOT: error: |