summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/sh/dsp.s
blob: 9a4094266cd87338299b98a4aef64e45e7997915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#	Test file for SH/GAS -- dsp instructions

	.text
	.align
	.globl dsp_tests
dsp_tests:
	movs.w @-r2, x0
	movs.w @r3,  x1
	movs.w @r4+, y0
	movs.w @r5+r8, y1
	movs.w m0, @-r5
	movs.w m1, @r4
	movs.w a0, @r3+
	movs.w a1, @r2+r8

	movs.l @-r2, a0g
	movs.l @r3,  a1g
	movs.l @r4+, x0
	movs.l @r5+r8, x1
	movs.l y0, @-r5
	movs.l y1, @r4
	movs.l m0, @r3+
	movs.l m1, @r2+r8

	padd x0,y0,a0
	plds a0,mach
	padd x0,y0,a0