File: r5900-vu0.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 (76 lines) | stat: -rw-r--r-- 1,234 bytes parent folder | download | duplicates (25)
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
	.text

	.set noreorder
	.set noat

	.ent text_label
	.global text_label
text_label:
	# Floating point transfer to VU
	lqc2	$0,0($0)
	lqc2	$1, 0x7fff($1)
	lqc2	$8, -0x8000($8)
	lqc2	$31, -1($31)
	.set at
	lqc2	$0, 0x8000($2)
	lqc2	$8, -0x8001($31)
	lqc2	$31, 0xF1234567($4)
	.set noat

	# Floating point transfer from VU
	sqc2	$0,0($0)
	sqc2	$1, 0x7fff($1)
	sqc2	$8, -0x8000($8)
	sqc2	$31, -1($31)
	.set at
	sqc2	$0, 0x8000($2)
	sqc2	$8, -0x8001($31)
	sqc2	$31, 0xF1234567($4)
	.set noat

	# Integer transfer from VU
	cfc2	$0,$0
	cfc2	$0,$31
	cfc2.i	$0,$0
	cfc2.i	$0,$31
	cfc2.ni	$0,$0
	cfc2.ni	$0,$31

	# Integer transfer to VU
	ctc2	$0,$0
	ctc2	$0,$31
	ctc2.i	$0,$0
	ctc2.i	$0,$31
	ctc2.ni	$0,$0
	ctc2.ni	$0,$31

	# Floating point transfer from VU
	qmfc2	$0,$0
	qmfc2	$0,$31
	qmfc2.i	$0,$0
	qmfc2.i	$0,$31
	qmfc2.ni	$0,$0
	qmfc2.ni	$0,$31

	# Floating point transfer to VU
	qmtc2	$0,$0
	qmtc2	$0,$31
	qmtc2.i	$0,$0
	qmtc2.i	$0,$31
	qmtc2.ni	$0,$0
	qmtc2.ni	$0,$31

	# COP2 conditional branch instructions
branch_label:
	bc2f    branch_label
	nop
	bc2fl   branch_label
	nop
	bc2t    branch_label
	nop
	bc2tl   branch_label
	nop

# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
	.space  8
	.end text_label