File: loongson-2e.s

package info (click to toggle)
binutils 2.34-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 328,380 kB
  • sloc: ansic: 1,180,155; asm: 665,310; cpp: 130,540; exp: 69,822; makefile: 57,183; sh: 22,559; yacc: 14,469; lisp: 13,785; perl: 2,112; ada: 1,681; lex: 1,650; pascal: 1,446; cs: 879; sed: 195; python: 154; xml: 95; awk: 25
file content (143 lines) | stat: -rw-r--r-- 3,096 bytes parent folder | download | duplicates (11)
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
	.text
	.set noreorder

movz_insns:
	movz		$2, $3, $4
	movnz		$2, $3, $4
	movn		$2, $3, $4

integer_insns:
	mult.g		$2, $3, $4
	multu.g		$5, $6, $7
	dmult.g		$8, $9, $10
	dmultu.g	$11, $12, $13
	div.g		$14, $15, $16
	divu.g		$17, $18, $19
	ddiv.g		$20, $21, $22
	ddivu.g		$23, $24, $25
	mod.g		$26, $27, $28
	modu.g		$29, $30, $31
	dmod.g		$2, $3, $4
	dmodu.g		$5, $6, $7

fpu_insns:
	madd.s		$f0, $f1, $f2
	madd.d		$f3, $f4, $f5
	madd.ps		$f6, $f7, $f8
	msub.s		$f9, $f10, $f11
	msub.d		$f12, $f13, $f14
	msub.ps		$f15, $f16, $f17
	nmadd.s		$f18, $f19, $f20
	nmadd.d		$f21, $f22, $f23
	nmadd.ps	$f24, $f25, $f26
	nmsub.s		$f27, $f28, $f29
	nmsub.d		$f0, $f1, $f2
	nmsub.ps	$f3, $f4, $f5

simd_insns:
	packsshb	$f0, $f1, $f2
	packsswh	$f3, $f4, $f5
	packushb	$f6, $f7, $f8
	paddb		$f9, $f10, $f11
	paddh		$f12, $f13, $f14
	paddw		$f15, $f16, $f17
	paddd		$f18, $f19, $f20
	paddsb		$f21, $f22, $f23
	paddsh		$f24, $f25, $f26
	paddusb		$f27, $f28, $f29
	paddush		$f0, $f1, $f2
	pandn		$f3, $f4, $f5
	pavgb		$f6, $f7, $f8
	pavgh		$f9, $f10, $f11
	pcmpeqb		$f12, $f13, $f14
	pcmpeqh		$f15, $f16, $f17
	pcmpeqw		$f18, $f19, $f20
	pcmpgtb		$f21, $f22, $f23
	pcmpgth		$f24, $f25, $f26
	pcmpgtw		$f27, $f28, $f29
	pextrh		$f0, $f1, $f2
	pinsrh_0	$f3, $f4, $f5
	pinsrh_1	$f6, $f7, $f8
	pinsrh_2	$f9, $f10, $f11
	pinsrh_3	$f12, $f13, $f14
	pmaddhw		$f15, $f16, $f17
	pmaxsh		$f18, $f19, $f20
	pmaxub		$f21, $f22, $f23
	pminsh		$f24, $f25, $f26
	pminub		$f27, $f28, $f29
	pmovmskb	$f0, $f1
	pmulhuh		$f2, $f3, $f4
	pmulhh		$f5, $f6, $f7
	pmullh		$f8, $f9, $f10
	pmuluw		$f11, $f12, $f13
	pasubub		$f14, $f15, $f16
	biadd		$f17, $f18
	pshufh		$f19, $f20, $f21
	psllh		$f22, $f23, $f24
	psllw		$f25, $f26, $f27
	psrah		$f28, $f29, $f30
	psraw		$f0, $f1, $f2
	psrlh		$f3, $f4, $f5
	psrlw		$f6, $f7, $f8
	psubb		$f9, $f10, $f11
	psubh		$f12, $f13, $f14
	psubw		$f15, $f16, $f17
	psubd		$f18, $f19, $f20
	psubsb		$f21, $f22, $f23
	psubsh		$f24, $f25, $f26
	psubusb		$f27, $f28, $f29
	psubush		$f0, $f1, $f2
	punpckhbh	$f3, $f4, $f5
	punpckhhw	$f6, $f7, $f8
	punpckhwd	$f9, $f10, $f11
	punpcklbh	$f12, $f13, $f14
	punpcklhw	$f15, $f16, $f17
	punpcklwd	$f18, $f19, $f20

fixed_point_insns:
	add		$f0, $f1, $f2
	addu		$f3, $f4, $f5
	dadd		$f6, $f7, $f8
	sub		$f9, $f10, $f11
	subu		$f12, $f13, $f14
	dsub		$f15, $f16, $f17
	or		$f18, $f19, $f20
	sll		$f21, $f22, $f23
	dsll		$f24, $f25, $f26
	xor		$f27, $f28, $f29
	nor		$f0, $f1, $f2
	and		$f3, $f4, $f5
	srl		$f6, $f7, $f8
	dsrl		$f9, $f10, $f11
	sra		$f12, $f13, $f14
	dsra		$f15, $f16, $f17
	sequ		$f18, $f19
	sltu		$f20, $f21
	sleu		$f22, $f23
	seq		$f24, $f25
	slt		$f26, $f27
	sle		$f28, $f29

mips5_ps_insns:
	abs.ps		$f0, $f2
	add.ps		$f2, $f4, $f6
	c.eq.ps		$f8, $f10
	c.f.ps		$f8, $f10
	c.le.ps		$f8, $f10
	c.lt.ps		$f8, $f10
	c.nge.ps	$f8, $f10
	c.ngl.ps	$f8, $f10
	c.ngle.ps	$f8, $f10
	c.ngt.ps	$f8, $f10
	c.ole.ps	$f8, $f10
	c.olt.ps	$f8, $f10
	c.seq.ps	$f8, $f10
	c.sf.ps		$f8, $f10
	c.ueq.ps	$f8, $f10
	c.ule.ps	$f8, $f10
	c.ult.ps	$f8, $f10
	c.un.ps		$f8, $f10
	mov.ps		$f24, $f26
	mul.ps		$f2, $f4, $f6
	neg.ps		$f6, $f8
	sub.ps		$f22, $f24, $f26