1# Test C674x SPLOOP instructions. The present tests are placeholders 2# to verify encoding that may not be valid when the full set of checks 3# for invalid input are implemented and may need changing to valid 4# code at that point. 5.text 6.nocmp 7.globl f 8f: 9 spmask 10 spmask l1 11 spmask L2 12 spmask s1 13 spmask S2 14 spmask D1 15 spmask d2 16 spmask M1 17 spmask m2 18 spmask D1,L1 19 spmask L1,D1 20 spmask L1,S1,D1,M1,M2,D2,S2,L2 21 spmask M1 22||^ mv .L1 a0,a1 23|| mv .D2 b0,b1 24||^ mv .S1 a2,a3 25 spmaskr 26 spmaskr l1 27 spmaskr L2 28 spmaskr s1 29 spmaskr S2 30 spmaskr D1 31 spmaskr d2 32 spmaskr M1 33 spmaskr m2 34 spmaskr D1,L1 35 spmaskr L1,D1 36 spmaskr L1,S1,D1,M1,M2,D2,S2,L2 37 spmaskr M1 38||^ mv .L1 a0,a1 39|| mv .D2 b0,b1 40||^ mv .S1 a2,a3 41 [a0] sploop 1 42 nop 43 spkernelr 44 [b0] sploopd 1 45 nop 46 spkernel 47 [!a0] sploopw 1 48 nop 49 spkernel 50 sploop 1 51 nop 52 spkernel 0,0 53 sploop 1 54 nop 55 spkernel 63,0 56 sploop 2 57 nop 58 spkernel 31,0 59 sploop 2 60 nop 61 spkernel 31,1 62 sploop 3 63 nop 64 spkernel 15,2 65 sploop 4 66 nop 67 spkernel 15,3 68 sploop 5 69 nop 70 spkernel 7,4 71 sploop 8 72 nop 73 spkernel 7,7 74 sploop 9 75 nop 76 spkernel 3,8 77 sploop 14 78 nop 79 spkernel 3,13 80 sploop 1 81 nop 82 spkernel 8,0 83 sploop 2 84 nop 85 spkernel 6,0 86