eladash
aa44ef1f44
Fix default PPU nj status
...
TODO: Support it...
2019-04-11 17:47:52 +03:00
Nekotekina
1b37e775be
Migration to named_thread<>
...
Add atomic_t<>::try_dec instead of fetch_dec_sat
Add atomic_t<>::try_inc
GDBDebugServer is broken (needs rewrite)
Removed old_thread class (former named_thread)
Removed storing/rethrowing exceptions from thread
Emu.Stop doesn't inject an exception anymore
task_stack helper class removed
thread_base simplified (no shared_from_this)
thread_ctrl::spawn simplified (creates detached thread)
Implemented overrideable thread detaching logic
Disabled cellAdec, cellDmux, cellFsAio
SPUThread renamed to spu_thread
RawSPUThread removed, spu_thread used instead
Disabled deriving from ppu_thread
Partial support for thread renaming
lv2_timer... simplified, screw it
idm/fxm: butchered support for on_stop/on_init
vm: improved allocation structure (added size)
2018-10-19 22:22:35 +03:00
Nekotekina
f2229a5f53
PPU reservations: ensure aligned atomic ops
...
Store aligned 64 bits to ppu.rdata
Don't save reservation size
2018-09-15 17:09:56 +03:00
eladash
cd11ae5d8b
ppu: Fix extreme reservation corner case
2018-09-12 23:17:53 +03:00
Nekotekina
d392379c7a
Use vm::passive_lock for SPU threads
2018-04-06 15:47:00 +03:00
Jake
7bbadfd08b
ppu/sys_interrupt: add stack_reset command to fix sys_interrupt stack overflowing
2018-03-09 20:30:59 +04:00
kd-11
cbc8bf01a1
cell/scheduler: Manage thread placement depending on cpu hardware
2018-01-19 12:03:57 +03:00
Nekotekina
144f6809bf
Implement CALL_FUNC
2017-10-05 19:51:37 +03:00
Nekotekina
8034196c25
ppu_syscall_code type added (for fmt)
2017-06-26 16:56:13 +03:00
Nekotekina
cd4f290d3d
PPU LLVM: v2, simplification (no allocas)
2017-06-26 16:56:13 +03:00
Nekotekina
f010b5b235
Configuration simplified
2017-05-20 16:01:48 +03:00
Nekotekina
b1f1a5885b
PPU LLVM improved
2017-04-16 17:44:19 +03:00
Nekotekina
7428bb3025
HLE linkage rewritten
2017-04-16 17:44:19 +03:00
Nekotekina
e8984d976c
_sys_sprintf implemented
...
_sys_printf, _sys_snprintf fixed
2017-03-27 01:15:41 +03:00
Nekotekina
4739eb3601
Reservation fix
2017-03-11 15:48:43 +03:00
Nekotekina
5e3bacbd9b
New reservations
...
Memory system cleanup
sys_memory_get_page_attribute
2017-03-10 15:51:40 +03:00
Nekotekina
9000407a77
cpu_thread::test_state added
...
lv2_obj::sleep adjustment
synchronization fixes
2017-02-22 13:23:21 +03:00
Nekotekina
598c90f376
PPU thread scheduler
2017-02-13 22:26:11 +03:00
Nekotekina
dc7ac22f84
sys_ppu
...
LV2_LOCK removal
error_code introduction
2017-01-31 18:03:09 +03:00
Nekotekina
b21fce4d6f
IdManager improved
...
lv2_obj for kernel objects
Simple lookup (vector)
Another idm API refactoring
2017-01-29 21:37:04 +03:00
Nekotekina
591a6c8671
IdManager improved
2017-01-25 23:29:36 +03:00
Nekotekina
78ecb115f3
LLVM: progress dialog
2017-01-22 22:44:26 +03:00
raven02
be9cebbc8f
Workaround id_min/max ( #2079 )
2016-08-20 21:27:50 +08:00
Nekotekina
ad174eb12c
error_code implemented
...
Reports based on formatting system
ppu_error_code removed
arm_error_code removed
2016-08-16 18:57:44 +03:00
Nekotekina
5e0489dcc0
cpu_init removed
2016-08-14 18:07:34 +03:00
Nekotekina
7a2802a5e0
Silly macro removed
2016-08-12 19:31:28 +03:00
Nekotekina
bdeccd889f
cpu_type removed, system_type added
...
cpu_state -> cpu_flag
vm::stack_allocator template improved
ppu_cmd type changed to enum, cmd64 type added
2016-08-09 17:14:41 +03:00
Nekotekina
f8719c1230
PPUThread refactoring
...
`CallbackManager` removed, added _gcm_intr_thread for cellGcmSys
`PPUThread` renamed to `ppu_thread`, inheritance allowed
Added lightweight command queue for `ppu_thread`
Implemented call stack dump for PPU
`get_current_thread_mutex` removed
`thread_ctrl::spawn`: minor initialization fix
`thread_ctrl::wait_for` added
`named_thread`: some methods added
`cpu_thread::run` added
Some bugs fixes, including SPU channels
2016-07-30 16:35:02 +03:00
Nekotekina
7a921cbdf9
cpu_thread compressed
2016-06-27 16:43:57 +03:00
Nekotekina
9db7de29fb
Syscall analysis implemented
2016-06-27 16:43:56 +03:00
Nekotekina
a8bebcba55
LLVM AOT
2016-06-19 21:29:48 +03:00
Nekotekina
e2d82394f6
Cell
2016-05-23 16:22:23 +03:00
Ivan
da7472fe81
Optimizations ( #1680 )
...
* Optimizations
1) Some headers simplified for better compilation time
2) Some templates simplified for smaller executable size
3) Eliminate std::future to fix compilation for mingw64
4) PKG installation can be cancelled now
5) cellGame fixes
6) XAudio2 fix for mingw64
7) PPUInterpreter bug fixed (Clang)
* any_pod<> implemented
Aliases: any16, any32, any64
rsx::make_command fixed
2016-04-25 13:49:12 +03:00
Nekotekina
c4e99dbdb2
Partial commit: Cell
2016-04-15 19:22:34 +03:00
Nekotekina
b3e3c68f15
File utility improved
...
+ minor fixes
2016-01-13 14:12:04 +03:00
Nekotekina
ca6783ba9a
Threads improved, ID manager improved
2015-12-04 23:37:34 +03:00
Nekotekina
a974ee009e
vm::var improved, cleanup
...
Mostly vm::var initialization introduced.
Added vm::make_var function.
2015-10-14 18:17:37 +03:00
Nekotekina
59f1077a36
Cleanup, be_t fixed
...
Some functions renamed:
get_ps3_function_name
execute_syscall_by_index
2015-09-22 13:28:34 +03:00
Vincent Lejeune
9d18bba1df
PPU/LLVM: Propagate exceptions
...
It fixes a crash in Retro City Rampage with low (ie 10) llvm threshold.
2015-09-15 19:21:39 +02:00
Nekotekina
ce494f8847
fmt::by_value, fmt::Format removed
2015-08-24 21:22:42 +03:00
Nekotekina
be9a599beb
PPU Decoder Cache improved
2015-08-24 21:22:35 +03:00
Nekotekina
6f3c50eba2
u128 renamed to v128
...
Since it's vector union type
2015-08-24 21:22:23 +03:00
Nekotekina
ffc11bfda3
b8 type
2015-08-01 14:38:45 +03:00
Danila Malyutin
5ae6586803
Add missing override specifiers
2015-07-26 18:37:14 +03:00
Nekotekina
2f7fe35f5c
Minor style change
2015-07-21 23:14:31 +03:00
Nekotekina
4bacfcf847
sys_lv2dbg added, bugfix
2015-07-10 04:31:41 +03:00
Nekotekina
daa93a7226
ARMv7 func binder improved (faster compilation)
2015-07-10 04:31:39 +03:00
Nekotekina
8f9e1100c8
SPU fixes, various fixes
2015-07-10 04:31:25 +03:00
Nekotekina
32d3d1fbe5
EXCEPTION() macro usage, sceNpTrophy improved
2015-07-10 04:31:20 +03:00
Nekotekina
3aefa2b4e1
ThreadBase rewritten (wip)
2015-07-10 04:31:16 +03:00
Nekotekina
714da1aa7c
vm::var fix, vm::ptr improved
...
GetCurrentPPUThread() removed
2015-07-10 04:31:00 +03:00
Nekotekina
edb9595721
Using vm::ps3 namespace moved in proper places
...
Various fixes
2015-07-10 04:30:41 +03:00
Nekotekina
1256d648c1
be_t simplified, vm::ref improved
...
remove_be_t renamed to to_ne_t (to native endianness)
le_t and to_le_t draft, bugfixes
2015-06-15 19:21:07 +03:00
Nekotekina
78fdcf75e7
Attribute macro changed
...
__forceinline -> force_inline
__noinline -> never_inline
printf_alike(x,y) added
2015-05-28 18:14:22 +03:00
Nekotekina
961fc27215
Minor cleanup
2015-03-07 16:39:07 +03:00
Nekotekina
be4e85f0f2
PPCThread removed (it does nothing anyway)
2015-02-26 03:54:49 +03:00
Nekotekina
2d1d996c50
Small fix
2015-02-19 14:18:28 +03:00
Nekotekina
0d489518ab
Compilation fix
2015-02-13 23:24:18 +03:00
Robert Xu
00e637645c
Fix building on OS X 10.10
2015-02-10 23:17:39 -05:00
Nekotekina
1af4848324
New reservations (not finished)
2015-02-07 02:39:51 +03:00
Nekotekina
e5dd03dbcb
ARMv7: argc, argv setting, LDRSB_IMM, bugfixes
2015-02-01 16:52:34 +03:00
B1ackDaemon
1fa301b719
Merge pull request #981 from Nekotekina/master
...
ARMv7 progress, some changes in vm_ptr
2015-01-29 01:57:42 +02:00
Nekotekina
579a88b7c4
vm_ptr: function format changed
2015-01-28 15:59:16 +03:00
Raul Tambre
be50130c3f
Various fixes
...
Fixes to dead code and a couple self-assignings
2015-01-24 21:50:26 +02:00
Nekotekina
c4558d2ca7
cast_armv7_gpr added
2015-01-19 21:02:33 +03:00
Nekotekina
f3c9143a81
cast_to_ppu_gpr(), cast_from_ppu_gpr() updated
2015-01-19 17:16:31 +03:00
Andrew Church
e64f6a1db3
Implement full floating-point support.
2015-01-19 03:19:10 +09:00
B1ackDaemon
26f1e2c9e3
Merge pull request #965 from Nekotekina/master
...
cellAudio update, thread_t
2015-01-18 02:40:03 +02:00
Andrew Church
bbe12bf4b1
Fix mftbu returning the wrong half of the timebase register.
2015-01-18 07:03:48 +09:00
Andrew Church
b7761beee9
Fix lfs/stfs with SNaNs.
2015-01-18 07:02:50 +09:00
Andrew Church
42b55c60e7
Fix fcmp.
2015-01-18 07:02:18 +09:00
Andrew Church
6cd3310171
Fix FPSCR manipulation instructions.
2015-01-18 07:02:11 +09:00
Andrew Church
ee508f85b4
Fix handling of VRSAVE, and remove references to nonexistent USPRG registers.
2015-01-18 07:01:52 +09:00
Andrew Church
ae4420e604
Implement missing PPU instructions.
2015-01-18 07:00:58 +09:00
Nekotekina
42b748a881
Syscall name resolving improved
2015-01-14 22:45:36 +03:00
Nekotekina
bd71c1200e
CB_FUNC/SC_FUNC fixed
2015-01-07 19:44:47 +03:00
DHrpcs3
cdfef3bf9e
Fixed compilation errors
...
Implemented converter_le_be
2014-11-20 21:41:04 +02:00
DHrpcs3
598d929aba
Implemented LLE Modules Manager (draft)
...
Improved loader core.
Implemented *_thread wrappers.
Minor fixes.
Temporary disabled ELF Compiler & DisAsm frame.
2014-11-19 16:16:30 +02:00
S Gopal Rajagopal
817947e373
Made minor fixes to some instructions in the PPU interpreter. Also changed the implementation of MFTB so that it always increments at a constant rate.
2014-10-16 17:03:46 +05:30
Nekotekina
05a7466a5a
m_custom_task thread member
2014-09-24 22:44:26 +04:00
Nekotekina
626133c0eb
declCPU removed, PPUThread& is passed as argument
...
Added experimental feature: passing PPUThread& to syscall
2014-09-16 21:49:50 +04:00
Nekotekina
597d07bf24
Small refactoring
2014-09-15 02:17:24 +04:00
Nekotekina
860d7bd3f1
Small fix 2
2014-09-13 18:25:02 +04:00
Nekotekina
c1da446653
FastCall() removed
2014-09-12 23:27:33 +04:00
Nekotekina
82433d946e
u128
...
Only useful as vector type anyway.
2014-09-06 20:30:13 +04:00
Nekotekina
43a61d0ab9
Memory.Write*/Read* replaced
2014-09-06 17:33:01 +04:00
Nekotekina
9f2afffca1
Some functions removed
2014-09-04 21:32:20 +04:00
Nekotekina
3269c88d02
Some warnings fixed, some code removed
2014-08-30 21:51:00 +04:00
Nekotekina
693e7a38fa
Some std include moved
2014-08-28 20:29:05 +04:00
Nekotekina
b005ee3cda
Log include fixes
2014-08-23 18:51:51 +04:00
Nekotekina
89b944c397
REG_FUNC macros
...
And some auxiliary changes
2014-08-19 22:17:20 +04:00
Nekotekina
afe984ca29
Small fix
2014-08-19 02:33:21 +04:00
Nekotekina
cb58a773c9
Some hack
2014-08-15 16:50:59 +04:00
Nekotekina
1908842255
Build fix
...
Non-ASCII characters replaced in PPUThread.h
Some cleanup
2014-07-12 18:53:36 +04:00
Sacha
6e06fdf638
Stdafx: Major header cleanup
2014-07-12 16:33:04 +10:00
Peter Tissen
e85abdeb2c
remove unexplained commented out code that I added myself with the last PR
...
* remove unexplained commented out code that I added myself
* revert asmjit settings change that was meant to only be local for me
2014-06-09 02:55:16 +02:00
Peter Tissen
c37905e465
initial start to eliminate static func init, not compilable atm
...
move module initialization into a module manager, still has some issues like stopping not working and debug crashing
add #idef 0 to modules that aren't in the windows project
don't double initialize and don't de-initialize for now, since many modules don't expect it and it leads to many errors
remove duplicate module lists for empty modules and implemented ones, make Module non-copyable but movable
add secondary project, no real use for it now
add some memleak config to the emucore and add asmjit path to rpcs3
small rebase error fixed to get it to compile again
add filters for emucore
re-add the module manager and static file
WIP commit, linker errors abound
some more abstraction layer stuff
fix the remaining linker errors, re-enable platform specific mouse, pad and keyboard handlers
rebasing
fix memset undefined and re() usage of se_t before declaration
Add wxGUI define by default for cmake builds
fix copy constructors of Datetime header
fix copy constructors of other wx interface classes
remove static declarations of global variables
make wxGLCanvas constructor non-ambiguous even with wx2.8. compat mode, fix wrong std::exception constructor calls
remove duplicate definition for FromUTF8 and ToUTF8
temp changes
2014-06-08 23:16:06 +02:00
Peter Tissen
4d84507c96
try include guards to circumvent a weird error with gcc and unity builds
2014-06-08 16:58:40 +02:00
DH
7bb966ba82
Improved PPU Interpreter
...
- Fixed UpdateCR0
- Fixed XER.CA updating
2014-06-08 08:27:57 +03:00
Unknown W. Brackets
42d5da633a
Fix an unused variable warning.
2014-04-27 21:31:42 -07:00