Unknown W. Brackets
d10bdd6938
Basic working imm mem breakpoints in x86 jit.
...
Seems to work okay. Doen't cover HLE of course.
2013-03-09 02:41:48 -08:00
Unknown W. Brackets
6290b67984
Validate the full memory access is valid.
...
Probably barely matters, but since we have the size now anyway...
2013-03-09 02:41:47 -08:00
Unknown W. Brackets
4908fb8046
Don't trip in a delay slot for bad mem access.
...
Could've done some tricky things... we don't jump correctly then.
2013-03-09 02:41:47 -08:00
Unknown W. Brackets
2d6a730cac
Add some basics for memory checks to x86 jit.
...
Specifically, we will need to be able to bail in delayslots,
and we will need to know the size of the access (useful anyway.)
2013-03-09 02:41:46 -08:00
Unknown W. Brackets
ab66aa4c45
Fix a shutdown crash with close fonts.
2013-03-09 00:54:16 -08:00
Unknown W. Brackets
f3a10fb4c3
Correct arguments to font alloc function.
2013-03-09 00:51:49 -08:00
Henrik Rydgård
e8ed179ca4
Merge pull request #912 from unknownbrackets/savestates
...
Make sure interpreter and jit savestates match
2013-03-08 15:58:55 -08:00
sum2012
827625ac3f
Add WrapI_UUUI
...
For sceMpegAvcConvertToYuv420 use
public int sceMpegAvcConvertToYuv420(int mpeg, TPointer bufferOutput,
TPointer unknown1, int unknown2) {
return 0;
}
2013-03-09 00:51:17 +08:00
Unknown W. Brackets
c4ab0855b4
Make sure interpreter and jit savestates match.
2013-03-08 08:49:21 -08:00
Sacha
7782be9a3e
Try software rounding mode instead. Use conditionals for VFP functions. Note: Round to Zero not working for some reason?
2013-03-08 22:39:34 +10:00
Sacha
fbef590bed
Add emitters for VMRS/VMSR. Undisable ceil, which works. Add stub for rounding mode handling.
2013-03-08 22:39:34 +10:00
Henrik Rydgård
0534139b14
Merge pull request #906 from oioitff/master
...
Not to show charCode with "%c" in sceFont.cpp
2013-03-08 00:33:37 -08:00
Henrik Rydgård
34f4d7a3a3
Merge pull request #904 from raven02/patch-7
...
Fix slowdown in Ridge Racer 2 or may be others
2013-03-08 00:18:00 -08:00
oioitff
85fb494ee7
Not to show charCode with "%c"
...
. Because it may have bad affect when we are not using English font.
2013-03-08 16:11:53 +08:00
Unknown W. Brackets
eb34f416d9
Reschedule/delay after sceKernelLoadModule() a bit.
...
Fixes Twin Brave demo, at least.
2013-03-07 23:18:33 -08:00
Unknown W. Brackets
82059b19da
Reschedule better in sceUtilityLoad/Unload.
...
It's not exactly right but it should help some games.
2013-03-07 22:45:58 -08:00
Unknown W. Brackets
db52d3d43c
Quick and dirty attempt to delay loadmodule.
2013-03-07 22:45:58 -08:00
Sacha
6adb6762f2
Enable instructions: ceil, ins (confirmed working). Buildfix for Qt platforms.
2013-03-08 12:36:04 +10:00
raven02
c3b2651660
Add %i for return value
2013-03-08 10:35:17 +08:00
xsacha
9973f0456b
Merge pull request #897 from unknownbrackets/jit-minor
...
Some armjit sync
2013-03-07 18:18:13 -08:00
raven02
54a2ca65ff
Fix slowdown in RR2 or may be others
2013-03-08 09:30:04 +08:00
Sacha
cc65b0add9
Fix rounding. Was disabling wrong rounding mode. Previous one wasn't merge-ready but should be OK now. Only tests that fail are VFPU now.
2013-03-07 22:34:20 +10:00
Henrik Rydgård
5854460a3d
Merge pull request #893 from xsacha/master
...
Armjit: Bug fixes
2013-03-07 04:03:41 -08:00
raven02
1fd2e5aadb
Add optionAddr to sceKernelLoadModule
2013-03-07 19:43:17 +08:00
Sacha
b9ec281c55
Disable rounding methods that aren't working in hardware. Add some notes. Fix compare fall-through and choose right round method.
2013-03-07 21:33:30 +10:00
raven02
691bc2df3f
Update sceKernelGetModuleIdByAddress
2013-03-07 19:29:49 +08:00
Unknown W. Brackets
cea396e901
armjit: Don't use R1 in the regcache.
...
This way it can be used in swl/swr/ins as a temp reg.
Note: those instructions are currently DISABLEd, though.
2013-03-07 02:09:13 -08:00
Unknown W. Brackets
925e4e42bd
armjit: Disable ext for now, breaks Disgaea?
2013-03-07 02:08:45 -08:00
Unknown W. Brackets
d525abbcad
Cleanup some indentation, more compares to 0.
2013-03-07 02:08:45 -08:00
Unknown W. Brackets
028e85dc92
Cleanup some differences between the two jits.
2013-03-07 02:08:44 -08:00
Unknown W. Brackets
669600bd8a
Minor cleanup.
2013-03-07 02:08:44 -08:00
CrazyMax
bcac3e288b
Buildfix: missing semicolon.
2013-03-07 01:58:58 -08:00
raven02
bda4a64e0d
Update AccumulatedHcount based on currentHCount
2013-03-07 16:47:09 +08:00
Henrik Rydgård
0f7eb63fe7
Merge pull request #895 from unknownbrackets/io-fix
...
Set the times when reading a dir on Windows
2013-03-07 00:16:20 -08:00
Unknown W. Brackets
be600e5095
Set the times when reading a dir on Windows.
...
Test doesn't pass but it's not gonna.
2013-03-07 00:02:01 -08:00
Sacha
2a9074d92f
Fix FPU comp UEQ case.
2013-03-07 14:46:11 +10:00
Henrik Rydgard
6702f0c78c
Tiny optimization and bugfix
2013-03-07 00:47:48 +01:00
Henrik Rydgard
963a6603fc
Fix two armjit bugs the testrunner found.
2013-03-07 00:37:00 +01:00
Henrik Rydgard
a0cf3b9151
Restore a log statement, #pragma once.
2013-03-07 00:27:00 +01:00
Henrik Rydgard
a69b09a831
More work on TestRunner, now runs all the CPU tests.
2013-03-07 00:22:39 +01:00
Henrik Rydgard
57d4544ef4
Basic testrunner for Android.
...
Running it as-is reveals that clo and rotrv are broken in ARMJIT.
2013-03-07 00:10:53 +01:00
Henrik Rydgard
a972d211c5
Call __LoadInternalFonts in __FontDoState to be safe.
2013-03-06 23:42:55 +01:00
Henrik Rydgard
43df3c9071
Lazy font loading (to speed up running unit tests...)
2013-03-06 22:26:54 +01:00
Henrik Rydgard
477aeee0ee
Compute current hCount correctly instead of incrementing a counter.
2013-03-06 20:31:51 +01:00
Sacha
94a11ef3c0
Armjit: Implement movn, movz
2013-03-07 04:11:48 +10:00
Sacha
87de6be239
Fix the shift regs in ARM JIT that were causing graphical issues in some games. Set avoidload flag.
2013-03-07 02:39:28 +10:00
Sacha
d77632bfb0
Fix literal pools on games with very large code blocks (eg. Zero no Kieski).
...
Was flushing after an offset of 4088 which did not take in to account that a single MIPS instruction can turn in to numerous ARM instructions. Chose a safer value of 4020.
Was insta-flushing after reaching this offset value. Some code blocks are over 8K in size. Use a partialFlushOffset to keep track of when the next flush is required.
Was protecting flush branch manually. Can use B_CC(CC_AL) for this instead.
2013-03-07 02:25:27 +10:00
Sacha
8125d96ce1
Small update for shifted load/stores. Still disabled.
2013-03-07 01:04:41 +10:00
Sacha
a8b6fca61b
Separate codepaths for shifted load/stores and normal load/stores. Fix dirty regs.
2013-03-07 00:59:07 +10:00
Sacha
ae3b881a7f
Use correct args for Operand2(..) through armjit. Fix STR(..).
2013-03-07 00:59:07 +10:00