Home | History | Annotate | Download | only in tic6x
      1 ; Test C64x+ D-unit compact instruction formats
      2 	.text
      3 	nop
      4 	.align 16
      5 	nop
      6 	.align 16
      7 dstk:				; op = 0 | STW (.unit) src, *B15[ucst5]
      8 				; op = 1 | LDW (.unit)*B15[ucst5], dst
      9 	.short 0x8c05
     10 	.short 0x9c05
     11 	.short 0x8c05
     12 	.short 0x9c05
     13 	.short 0xcc35
     14 	.short 0xfc05
     15 	.short 0xdcf5
     16 	.short 0x8c0d
     17 	.short 0x9c0d
     18 	.short 0x8c0d
     19 	.short 0x9c0d
     20 	.short 0xcc3d
     21 	.short 0xfc0d
     22 	.short 0xdcfd
     23 	.word  0xefe00000
     24 dx2op: 				; op = 0 | ADD (.unit) src1, src2, dst (src1 = dst)
     25 				; op = 1 | SUB (.unit) src1, src2, dst (src1 = dst, dst = src1 - src2
     26 	.short 0x0036
     27 	.short 0x0037
     28 	.short 0x0836
     29 	.short 0x0837
     30 	.short 0x1036
     31 	.short 0x1837
     32 	.short 0x8036
     33 	.short 0xc037
     34 	.short 0xe836
     35 	.short 0x8837
     36 	.short 0xda36
     37 	.short 0xe037
     38 	.short 0xd236
     39 	.short 0xe3b7
     40 	.word  0xefe00000
     41 dx5:				; ADDAW (.unit)B15, ucst5, dst
     42 	.short 0x0436
     43 	.short 0x0437
     44 	.short 0x0c36
     45 	.short 0x0c37
     46 	.short 0x1436
     47 	.short 0x1c37
     48 	.short 0x8436
     49 	.short 0xc437
     50 	.short 0xec36
     51 	.short 0x8c37
     52 	.short 0xde36
     53 	.short 0xe437
     54 	.short 0xd636
     55 	.short 0xe7b7
     56 	.word  0xefe00000
     57 dx5p:
     58 	.short 0x0c77
     59 	.short 0x2d77
     60 	.short 0x4e77
     61 	.short 0x6f77
     62 	.short 0x8c77
     63 	.short 0xad77
     64 	.short 0xce77
     65 	.short 0xeff7
     66 	.short 0x2cf7
     67 	.short 0x4df7
     68 	.short 0x6ef7
     69 	.short 0x8ff7
     70 	.short 0xacf7
     71 	.short 0xcdf7
     72 	.word  0xefe00000
     73 dx1:
     74 	.short 0x7876
     75 	.short 0x7877
     76 	.short 0x78f6
     77 	.short 0x79f7
     78 	.short 0x5876
     79 	.short 0x9877
     80 	.short 0xd876
     81 	.short 0x7877
     82 	.short 0x7876
     83 	.short 0x7877
     84 	.short 0x7876
     85 	.short 0x7877
     86 	.short 0x7876
     87 	.short 0x7877
     88 	.word  0xefe00000
     89 dpp:
     90 	.short 0x0077
     91 	.short 0x4177
     92 	.short 0xa277
     93 	.short 0xe377
     94 	.short 0x2477
     95 	.short 0x6577
     96 	.short 0x8677
     97 	.short 0x0777
     98 	.short 0x11f7
     99 	.short 0x52f7
    100 	.short 0x4777
    101 	.short 0x6777
    102 	.short 0x15f7
    103 	.short 0x56f7
    104 	.word  0xefe80000
    105