brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 0120472 Raw
56 lines · plain
1# RUN: llvm-mc -triple=hexagon -filetype=asm %s 2>%t; FileCheck %s <%t2#3 4# Check that proper packets are not wrongly flagged as invalid.5 61-3-4-f:7	{8	       r3 = memub(r2++#1)9	       if (cmp.eq(r3.new,#0)) jump:nt .10	       jumpr lr11	       r4 = #412	}13# CHECK-NOT: rror: invalid instruction packet14 151-3-f-f:16        {17                r3 = memub(r2++#1)18                if (cmp.eq(r3.new,#0)) jump:nt .19                r5 = #520                r4 = #421        }22# CHECK-NOT: rror: invalid instruction packet23 24# Special case of a fat packet that will slim when a compound is formed.253-3-8-c:26   { LOOP0(3-3-8-c, R7)27     P0 = CMP.GT(R7, #0)28     IF (!P0.NEW) JUMP:NT .29     R21:20 = MEMD(R0+#16)30     R23:22 = MEMD(R0+#24)31   }32# CHECK-NOT: rror: invalid instruction packet33 341-f-f-f:35        {36                r3 = #337                if (cmp.eq(r3.new,#0)) jump:nt .38                r5 = #539                r4 = #440        }41# CHECK-NOT: rror: invalid instruction packet42 434:44        jumpr lr45# CHECK-NOT: rror: invalid instruction packet46 47f-f-f-f:48        {49                r3 = #350                r2 = #251                r5 = #552                r4 = #453        }54# CHECK-NOT: rror: invalid instruction packet55 56