Project

General

Profile

Actions

Emulator Issues #7709

closed

Arm32 JIT crashes on Android

Added by SeannyM over 9 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

As of PR #1070 the Arm32 JIT crashes any game on launch for Android builds. After doing some testing, I have determined that line 105 in JitArm_SystemRegisters.cpp, "STRB(tmp, R9, PPCSTATE_OFF(xer_so_ov));", is what's causing the crash. I may not be the most knowledgeable person when it comes to this, but this line looks fine to me. Removing/commenting out this line allows the JIT to start up without crashing, however of course, it isn't able to run the games; the best you'll get is the yellow text in the top-left corner. Of course, an easy fix to this would be to simply have some more instructions that fall back to the interpreter, however the Arm32 JIT already has enough of that. Since I can't find the issue or even really understand why it's an issue in the first place, I bring my information here for someone else to try and solve. It appears to be an issue with "xer_so_ov", since "xer_ca" seems to work just fine with "STRB(tmp, R9, PPCSTATE_OFF(xer_ca));"

Actions

Also available in: Atom PDF