Created
March 2, 2014 17:44
-
-
Save Bigpet/9310480 to your computer and use it in GitHub Desktop.
a small loop that I encountered that rpcs3 can't seem to escape
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jmp_loc0: | |
5058297d subf r9,r9,r11 ; start here | |
0c00a938 addi r5,r9,12 | |
0028887f cmpw cr7,r8,r5 | |
5040e57c subf r7,r5,r8 | |
3f00072f cmpwi cr6,r7,63 | |
ec019c41 blt cr7,jmp_loc20 ; jump taken everytime | |
.... | |
.... | |
.... | |
jmp_loc20: | |
0c00a383 lwz r29,12(r3) ; jump target | |
2000a67b clrldi r6,r29,32 | |
20006a7b clrldi r10,r27,32 | |
0c007d39 addi r11,r29,12 | |
d0004a7d neg r10,r10 | |
ba4a003c lis r0,19130 | |
3850697d and r9,r11,r10 | |
04000681 lwz r8,4(r6) | |
efbe0060 ori r0,r0,48879 | |
0058897c cmpw cr1,r9,r11 | |
14427d7d add r11,r29,r8 | |
0000887f cmpw cr7,r8,r0 | |
5058247d subf r9,r4,r11 | |
7833c37c mr r3,r6 | |
3850297d and r9,r9,r10 | |
c4fd9e40 bne cr7,jmp_loc0 ; jump back taken every time | |
.... | |
.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment