Commit | Line | Data |
---|---|---|
67fd25c2 | 1 | # Test file for SH/GAS -- dsp instructions |
05caa641 NC |
2 | |
3 | .text | |
4 | .align | |
5 | .globl dsp_tests | |
6 | dsp_tests: | |
7 | movs.w @-r2, x0 | |
8 | movs.w @r3, x1 | |
9 | movs.w @r4+, y0 | |
10 | movs.w @r5+r8, y1 | |
11 | movs.w m0, @-r5 | |
12 | movs.w m1, @r4 | |
13 | movs.w a0, @r3+ | |
14 | movs.w a1, @r2+r8 | |
15 | ||
16 | movs.l @-r2, a0g | |
17 | movs.l @r3, a1g | |
18 | movs.l @r4+, x0 | |
19 | movs.l @r5+r8, x1 | |
20 | movs.l y0, @-r5 | |
21 | movs.l y1, @r4 | |
22 | movs.l m0, @r3+ | |
23 | movs.l m1, @r2+r8 | |
477ad2e1 JR |
24 | |
25 | padd x0,y0,a0 | |
26 | plds a0,mach | |
27 | padd x0,y0,a0 |