47f6dab9a3
overlays where possible. Use a faster call stub, or optionally at compile time, a more compact stub. Double size of _ovly_buf_table so that low bit of _ovly_table.buf can be used as a "present" bit. Reserve an extra _ovly_table entry for index zero.
181 lines
3.2 KiB
Makefile
181 lines
3.2 KiB
Makefile
#source: ovl.s
|
|
#ld: -N -T ovl1.lnk -T ovl.lnk --emit-relocs
|
|
#objdump: -D -r
|
|
|
|
.*elf32-spu
|
|
|
|
Disassembly of section \.text:
|
|
|
|
00000100 <_start>:
|
|
.* ai \$1,\$1,-32
|
|
.* xor \$0,\$0,\$0
|
|
.* stqd \$0,0\(\$1\)
|
|
.* stqd \$0,16\(\$1\)
|
|
.* brsl \$0,.* <00000000\.ovl_call\.f1_a1>.*
|
|
.*SPU_REL16 f1_a1
|
|
.* brsl \$0,.* <00000000\.ovl_call\.f2_a1>.*
|
|
.*SPU_REL16 f2_a1
|
|
.* brsl \$0,.* <00000000\.ovl_call\.f1_a2>.*
|
|
.*SPU_REL16 f1_a2
|
|
#.* ila \$9,328 # 148
|
|
.* ila \$9,352 # 160
|
|
.*SPU_ADDR18 f2_a2
|
|
.* bisl \$0,\$9
|
|
.* ai \$1,\$1,32 # 20
|
|
.* br 100 <_start> # 100
|
|
.*SPU_REL16 _start
|
|
|
|
0000012c <f0>:
|
|
.* bi \$0
|
|
|
|
#00000130 <00000000\.ovl_call\.f1_a1>:
|
|
#.* brsl \$75,.* <__ovly_load>.*
|
|
#.*00 04 04 00.*
|
|
#
|
|
#00000138 <00000000\.ovl_call\.f2_a1>:
|
|
#.* brsl \$75,.* <__ovly_load>.*
|
|
#.*00 04 04 04.*
|
|
#
|
|
#00000140 <00000000\.ovl_call\.f1_a2>:
|
|
#.* brsl \$75,.* <__ovly_load>.*
|
|
#.*00 08 04 00.*
|
|
#
|
|
#00000148 <00000000\.ovl_call\.f2_a2>:
|
|
#.* brsl \$75,.* <__ovly_load>.*
|
|
#.*00 08 04 24.*
|
|
#
|
|
#00000150 <00000000\.ovl_call\.f4_a1>:
|
|
#.* brsl \$75,.* <__ovly_load>.*
|
|
#.*00 04 04 10.*
|
|
#
|
|
#00000158 <00000000.ovl_call.14:8>:
|
|
#.* brsl \$75,.* <__ovly_load>.*
|
|
#.*00 08 04 34.*
|
|
|
|
00000130 <00000000\.ovl_call\.f1_a1>:
|
|
.* ila \$78,1
|
|
.* lnop
|
|
.* ila \$79,1024 # 400
|
|
.* br .* <__ovly_load>.*
|
|
|
|
00000140 <00000000\.ovl_call\.f2_a1>:
|
|
.* ila \$78,1
|
|
.* lnop
|
|
.* ila \$79,1028 # 404
|
|
.* br .* <__ovly_load>.*
|
|
|
|
00000150 <00000000.ovl_call.f1_a2>:
|
|
.* ila \$78,2
|
|
.* lnop
|
|
.* ila \$79,1024 # 400
|
|
.* br .* <__ovly_load>.*
|
|
|
|
00000160 <00000000\.ovl_call\.f2_a2>:
|
|
.* ila \$78,2
|
|
.* lnop
|
|
.* ila \$79,1060 # 424
|
|
.* br .* <__ovly_load>.*
|
|
|
|
00000170 <00000000\.ovl_call\.f4_a1>:
|
|
.* ila \$78,1
|
|
.* lnop
|
|
.* ila \$79,1040 # 410
|
|
.* br .* <__ovly_load>.*
|
|
|
|
00000180 <00000000.ovl_call.14:8>:
|
|
.* ila \$78,2
|
|
.* lnop
|
|
.* ila \$79,1076 # 434
|
|
.* br .* <__ovly_load>.*
|
|
|
|
#...
|
|
[0-9a-f]+ <__ovly_return>:
|
|
#...
|
|
[0-9a-f]+ <__ovly_load>:
|
|
#...
|
|
[0-9a-f]+ <_ovly_debug_event>:
|
|
#...
|
|
Disassembly of section \.ov_a1:
|
|
|
|
00000400 <f1_a1>:
|
|
.* br .* <f3_a1>.*
|
|
.*SPU_REL16 f3_a1
|
|
|
|
00000404 <f2_a1>:
|
|
#.* ila \$3,336 # 150
|
|
.* ila \$3,368 # 170
|
|
.*SPU_ADDR18 f4_a1
|
|
.* bi \$0
|
|
|
|
0000040c <f3_a1>:
|
|
.* bi \$0
|
|
|
|
00000410 <f4_a1>:
|
|
.* bi \$0
|
|
\.\.\.
|
|
Disassembly of section \.ov_a2:
|
|
|
|
00000400 <f1_a2>:
|
|
.* stqd \$0,16\(\$1\)
|
|
.* stqd \$1,-32\(\$1\)
|
|
.* ai \$1,\$1,-32
|
|
.* brsl \$0,12c <f0> # 12c
|
|
.*SPU_REL16 f0
|
|
.* brsl \$0,130 <00000000\.ovl_call\.f1_a1> # 130
|
|
.*SPU_REL16 f1_a1
|
|
.* brsl \$0,430 <f3_a2> # 430
|
|
.*SPU_REL16 f3_a2
|
|
.* lqd \$0,48\(\$1\) # 30
|
|
.* ai \$1,\$1,32 # 20
|
|
.* bi \$0
|
|
|
|
00000424 <f2_a2>:
|
|
.* ilhu \$3,0
|
|
.*SPU_ADDR16_HI f4_a2
|
|
#.* iohl \$3,344 # 158
|
|
.* iohl \$3,384 # 180
|
|
.*SPU_ADDR16_LO f4_a2
|
|
.* bi \$0
|
|
|
|
00000430 <f3_a2>:
|
|
.* bi \$0
|
|
|
|
00000434 <f4_a2>:
|
|
.* br .* <f3_a2>.*
|
|
.*SPU_REL16 f3_a2
|
|
\.\.\.
|
|
Disassembly of section .data:
|
|
|
|
00000440 <_ovly_table-0x10>:
|
|
\.\.\.
|
|
44c: 00 00 00 01 .*
|
|
00000450 <_ovly_table>:
|
|
450: 00 00 04 00 .*
|
|
454: 00 00 00 20 .*
|
|
# 458: 00 00 03 40 .*
|
|
458: 00 00 03 70 .*
|
|
45c: 00 00 00 02 .*
|
|
460: 00 00 04 00 .*
|
|
464: 00 00 00 40 .*
|
|
# 468: 00 00 03 60 .*
|
|
468: 00 00 03 90 .*
|
|
46c: 00 00 00 02 .*
|
|
|
|
00000470 <_ovly_buf_table>:
|
|
\.\.\.
|
|
|
|
Disassembly of section \.toe:
|
|
|
|
00000480 <_EAR_>:
|
|
\.\.\.
|
|
Disassembly of section \.note\.spu_name:
|
|
|
|
.* <\.note\.spu_name>:
|
|
.*: 00 00 00 08 .*
|
|
.*: 00 00 00 0c .*
|
|
.*: 00 00 00 01 .*
|
|
.*: 53 50 55 4e .*
|
|
.*: 41 4d 45 00 .*
|
|
.*: 74 6d 70 64 .*
|
|
.*: 69 72 2f 64 .*
|
|
.*: 75 6d 70 00 .*
|