File: lsh_test.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 (59 lines) | stat: -rw-r--r-- 1,387 bytes parent folder | download | duplicates (34)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
        .text
        .global main
main:
	###########################
	# LSHB cnt(right -), reg
	###########################
        lshb   $7,r1
        lshb   $-7,r1
        lshb   $4,r1
        lshb   $-4,r1
        lshb	$-8,r1
        lshb   $3,r1
        lshb   $-3,r1
	###########################
	# LSHB reg, reg
	###########################
        lshb   r2,r1
        lshb   r3,r4
        lshb   r5,r6
        lshb   r8,r10
	###########################
	# LSHW cnt (right -), reg
	###########################
        lshw   $7,r1
        lshw   $-7,r1
        lshw   $4,r1
        lshw   $-4,r1
        lshw	$8,r1
        lshw	$-8,r1
        lshw   $3,r1
        lshw   $-3,r1
	##########################
	# LSHW reg, reg
	##########################
        lshw   r2,r1
        lshw   r3,r4
        lshw   r5,r6
        lshw   r8,r10
	###########################
	# LSHD cnt (right -), regp
	############################
        lshd   $7, (r3,r2)
        lshd   $-7, (r3,r2)
        lshd   $8, (r3,r2)
        lshd   $-8, (r3,r2)
        lshd   $4, (r3,r2)
        lshd   $-4, (r3,r2)
        lshd   $12,(r3,r2)
        lshd   $-12,(r3,r2)
        lshd	$3,(r2,r1)
        lshd	$-3,(r2,r1)
	#################
	# LSHD reg, regp
	#################
        lshd   r4,(r2,r1)
        lshd   r5,(r2,r1)
        lshd   r6,(r2,r1)
        lshd   r8,(r2,r1)
        lshd   r1,(r2,r1)