Henrik Rydgård
b2f5efaa50
Merge pull request #6822 from unknownbrackets/thread-funcs
...
Improve some timing / thread funcs
2014-09-02 09:49:46 +02:00
Unknown W. Brackets
c9df66a450
Initialize the VFPU revision from a PSP-3000 value.
2014-09-01 23:16:50 -07:00
Unknown W. Brackets
4459b8f483
jit: Actually jit vmtfc/vmfvc.
...
Sicne we have them and they are easy.
2014-09-01 23:13:39 -07:00
Unknown W. Brackets
fd1b01b573
Fix the vrndi.s output range.
...
Was previously outputting only valid positive float values, but should use
a much wider range of a u32.
Might've affected randomness in some games.
2014-09-01 22:33:01 -07:00
Unknown W. Brackets
d637de8b4c
Eat some cycles when signaling semaphores.
...
Seems to match tests.
2014-09-01 21:12:56 -07:00
Unknown W. Brackets
2923800217
Eat some cycles when starting a thread.
...
Seems to improve a test a bit, based on tests.
2014-09-01 21:12:13 -07:00
Unknown W. Brackets
84231c0188
Eat some cycles when canceling/deleting fpls.
...
Improves tests measuing timeouts remaining after delete.
2014-09-01 21:11:41 -07:00
Unknown W. Brackets
c5b15cc9fc
Adjust semaphore timing slightly.
...
This matches tests a bit better.
2014-09-01 20:03:58 -07:00
Unknown W. Brackets
6599430c04
Improve some timing in msgpipes.
...
Probably not super important, but makes tests happier.
Also, when unscheduling an event, return the current time left, including
already spent time since last Advance.
2014-09-01 20:03:58 -07:00
Unknown W. Brackets
a42a2864a6
Protect against vtimers scheduled in past.
2014-09-01 20:03:57 -07:00
Unknown W. Brackets
f78712ec3a
Simplify alarm timing.
...
This is from when it seemed like sceKernelSetAlarm() was by cycles.
Corrects handling of large timer / sysclock params.
2014-09-01 20:03:57 -07:00
Unknown W. Brackets
2cad35ad59
Put a 250us minimum on all vtimer scheduling.
2014-09-01 20:03:56 -07:00
Unknown W. Brackets
4e9f54a400
Require 250us lead time to start a vtimer.
...
Matches tests, improves the threads/vtimers/delete test.
2014-09-01 20:03:56 -07:00
Unknown W. Brackets
baf465500a
Fix a bad iterator dereference in sceMpeg.
...
Though not sure it should actually reach here, let's at least not crash.
2014-08-31 21:15:04 -07:00
sum2012
06fae5bcbc
Add a "no loop information" log
2014-09-01 04:47:12 +08:00
Henrik Rydgård
c02f1ca3e1
Merge pull request #6812 from unknownbrackets/jit-minor
...
Correctly handle flags/temp regs when setting rounding mode
2014-08-31 09:30:51 +02:00
Henrik Rydgård
218fd7bab5
Merge pull request #6805 from sum2012/kernel
...
Fix sceKernelSelfStopUnloadModule parameters
2014-08-31 09:27:23 +02:00
Henrik Rydgård
64bc2b7bdb
Merge pull request #6816 from thedax/win32-Unicode
...
Win32: Use wide strings to parse some command-line arguments, and convert them to proper UTF-8 for others.
2014-08-31 09:26:31 +02:00
The Dax
f22212369f
Remove a few unneeded parentheses, and use nullptr instead of NULL.
2014-08-31 03:19:19 -04:00
Unknown W. Brackets
5f6f6827b5
jit: Update rounding mode immediately on ctc1.
2014-08-30 23:48:27 -07:00
The Dax
3590352429
Win32: Use wide strings to parse most command-line arguments.
...
Also do a tiny bit of cleanup in main.cpp (replacing strcmps with simple string equality checks).
2014-08-31 02:47:25 -04:00
Unknown W. Brackets
8e14dc1acd
Fix path issue running tests on Linux.
...
No trailing slash. Doesn't hurt Windows to have an extra one.
2014-08-30 22:38:19 -07:00
Unknown W. Brackets
e8cdbcc33f
x86jit: Fix some flags/EAX trashing in rounding.
...
Fixes #6810 .
2014-08-30 16:46:43 -07:00
Unknown W. Brackets
8daff0a25e
armjit: Fix some downcount issues with rounding.
...
When setting the rounding mode we need to be super careful about not
destroying flags or R0 if they are needed.
2014-08-30 16:43:13 -07:00
Unknown W. Brackets
820a8e8f2b
armjit: Don't reset downcount on fpu instructions.
...
It's maintained always, oops.
2014-08-30 16:30:13 -07:00
sum2012
55cb292bad
Correct sceKernelSelfStopUnloadModule 's name and logging
2014-08-29 20:36:21 +08:00
sum2012
26b25052c2
Fix sceKernelSelfStopUnloadModule parameters
...
According to http://code.google.com/p/jpcsp/source/detail?r=3597
2014-08-29 20:31:25 +08:00
Sacha
7b308247f8
Symbian buildfix. It doesn't use MemArena.
2014-08-25 02:18:58 +10:00
Henrik Rydgard
1d7642fa48
Remove most mentions of the "_XBOX" define
2014-08-24 14:21:35 +02:00
Henrik Rydgård
812d64a4b7
Merge pull request #6774 from hrydgard/merge-ced2911-dx9-work
...
Cherry-pick from ced2911's dx9 work
2014-08-24 14:06:04 +02:00
Henrik Rydgard
6011255e6f
D3D: Don't display buffered rendering upside down. Support screen scaling filter setting
2014-08-24 14:04:55 +02:00
Unknown W. Brackets
5f015793d8
Seems like this else was a mistake.
2014-08-23 21:54:04 -07:00
Unknown W. Brackets
d4ec7d8019
Add another memcpy variant.
...
Fixes #4324 (Marvel Ultimate Alliance 2 videos), thanks daniel229.
2014-08-23 08:45:25 -07:00
Henrik Rydgård
5d836bfa5a
Merge pull request #6765 from hrydgard/thin3d
...
Switch UI drawing from GL to Thin3D. This activates the D3D9 path as well.
2014-08-23 10:52:21 +02:00
Henrik Rydgård
b7da82eebb
Merge pull request #6762 from unknownbrackets/fpu-rounding
...
Handle fpu rounding mode at least in jits
2014-08-23 10:43:22 +02:00
Henrik Rydgard
0f973a3276
Get it running on Android again
2014-08-23 09:48:08 +02:00
Unknown W. Brackets
e9b5e6f277
armjit: Maintain rounding mode throughout jit.
2014-08-22 19:57:50 -07:00
Henrik Rydgard
e2ecbb7a4d
Convert more UI code to Thin3D
2014-08-22 20:55:18 +02:00
Henrik Rydgard
e539c7009f
Hook up DX9 backend. Not really working though, it seems.
2014-08-22 20:55:12 +02:00
Henrik Rydgard
92c3775d95
Start hooking up D3D
2014-08-22 20:55:04 +02:00
Henrik Rydgard
808f05da89
(Partially) slip thin3d underneath DrawBuffer.
2014-08-22 20:54:53 +02:00
Unknown W. Brackets
925557ed47
x86jit: Maintain the rounding mode always.
...
This should be less often than doing it per block that uses fpu, unless
the game doesn't use fpu much at all.
2014-08-22 09:53:00 -07:00
Henrik Rydgård
f8a4236d58
Merge pull request #6679 from unknownbrackets/gpu-blend
...
Handle doubled alpha blending using premultiplication
2014-08-22 10:06:24 +02:00
Unknown W. Brackets
1fcbb7bbd4
armjit: Respect the rounding mode for mul/etc.
2014-08-22 00:32:01 -07:00
Unknown W. Brackets
ab13b36484
x86jit: Implement cvt.w.s.
...
Not really used that often, anyway, but easy enough and good for testing
that we set the rounding mode correctly.
2014-08-22 00:01:06 -07:00
Unknown W. Brackets
dc91dc1ce8
x86jit: Support fpu rounding modes for mul, etc.
...
Fixes Gods Eater Burst loading PSP savedata, but can no longer load old
savedata.
2014-08-21 23:59:55 -07:00
Henrik Rydgard
dfbb0bdea2
Hack: Return -1 specifically for trying to load SFO's as modules. Works around #6748
...
Will test properly later and return the correct value but this should be zero-impact.
2014-08-21 10:34:56 +02:00
Henrik Rydgård
d52c87d82c
Merge pull request #6722 from sum2012/wwe
...
check for duplicated stack addresses by JimLee168
2014-08-20 16:34:02 +02:00
Sacha
97e93f48fd
Clean up LitPool code and re-enable flushing in AsmJit
2014-08-20 18:29:37 +10:00
Unknown W. Brackets
d52fdafa3c
Note the location of a memset variant.
2014-08-18 23:20:44 -07:00