File: dsp.s

package info (click to toggle)
binutils 2.31.1-11
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 307,644 kB
  • sloc: ansic: 1,161,122; asm: 638,494; cpp: 128,815; exp: 68,557; makefile: 55,816; sh: 22,360; yacc: 14,238; lisp: 13,272; perl: 2,111; ada: 1,681; lex: 1,652; pascal: 1,446; cs: 879; sed: 195; python: 154; xml: 95; awk: 25
file content (27 lines) | stat: -rw-r--r-- 414 bytes parent folder | download | duplicates (46)
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