papermario/asm/nonmatchings/os/code_42980_len_80/guMtxL2F.s

42 lines
1.6 KiB
ArmAsm
Raw Normal View History

2020-08-04 08:49:11 +02:00
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
2020-04-26 06:13:18 +02:00
2020-08-01 18:55:49 +02:00
glabel guMtxL2F
2020-04-26 06:13:18 +02:00
/* 042980 80067580 3C013780 */ lui $at, 0x3780
/* 042984 80067584 44810000 */ mtc1 $at, $f0
/* 042988 80067588 3C19FFFF */ lui $t9, 0xffff
/* 04298C 8006758C 24B80020 */ addiu $t8, $a1, 0x20
.L80067590:
/* 042990 80067590 8CA80000 */ lw $t0, ($a1)
/* 042994 80067594 8CA90020 */ lw $t1, 0x20($a1)
/* 042998 80067598 01195024 */ and $t2, $t0, $t9
/* 04299C 8006759C 00095C02 */ srl $t3, $t1, 0x10
/* 0429A0 800675A0 014B6025 */ or $t4, $t2, $t3
/* 0429A4 800675A4 00086C00 */ sll $t5, $t0, 0x10
/* 0429A8 800675A8 312EFFFF */ andi $t6, $t1, 0xffff
/* 0429AC 800675AC 01AE7825 */ or $t7, $t5, $t6
/* 0429B0 800675B0 448C2000 */ mtc1 $t4, $f4
/* 0429B4 800675B4 00000000 */ nop
/* 0429B8 800675B8 468021A0 */ cvt.s.w $f6, $f4
/* 0429BC 800675BC 46003202 */ mul.s $f8, $f6, $f0
/* 0429C0 800675C0 448F5000 */ mtc1 $t7, $f10
/* 0429C4 800675C4 00000000 */ nop
/* 0429C8 800675C8 46805420 */ cvt.s.w $f16, $f10
/* 0429CC 800675CC 46008482 */ mul.s $f18, $f16, $f0
/* 0429D0 800675D0 E4880000 */ swc1 $f8, ($a0)
/* 0429D4 800675D4 E4920004 */ swc1 $f18, 4($a0)
/* 0429D8 800675D8 24A50004 */ addiu $a1, $a1, 4
/* 0429DC 800675DC 14B8FFEC */ bne $a1, $t8, .L80067590
/* 0429E0 800675E0 24840008 */ addiu $a0, $a0, 8
/* 0429E4 800675E4 03E00008 */ jr $ra
/* 0429E8 800675E8 00000000 */ nop
/* 0429EC 800675EC 00000000 */ nop
/* 0429F0 800675F0 00000000 */ nop
/* 0429F4 800675F4 00000000 */ nop
/* 0429F8 800675F8 00000000 */ nop
/* 0429FC 800675FC 00000000 */ nop
2020-08-06 06:11:15 +02:00