summaryrefslogtreecommitdiff
path: root/cpu.c
AgeCommit message (Collapse)Author
2021-03-08Remove libcoDavid Guillen Fandos
This removes libco and all the usages of it (+pthreads). Rewired all dynarecs and interpreter to return after every frame so that libretro can process events. This required to make dynarec re-entrant. Dynarecs were updated to check for new frame on every update (IRQ, cycle exhaustion, I/O write, etc). The performance impact of doing so should be minimal (and definitely outweight the libco gains). While at it, fixed small issues to get a bit more perf: arm dynarec was not idling correctly, mips was using stack when not needed, etc. Tested on PSP (mips), OGA (armv7), Linux (x86 and interpreter). Not tested on Android though.
2015-07-26Prevent bunch of warningstwinaphex
2014-12-14Rename cpu_orig.c to cpu.ctwinaphex
2014-12-13Remove a lot of the GNU case range extensions instancestwinaphex
2014-12-12CPU interpreter - group more case ranges togethertwinaphex
2014-12-12CPU interpreter - group THUMB cases 0x38 to 0x3F (SUB) togethertwinaphex
2014-12-12Use thumb_opcode_val & 0x7 insteadtwinaphex
2014-12-12CPU interpreter - group THUMB case range 0x30 to 0x37 (ADD) togethertwinaphex
2014-12-12CPU interpreter - group THUMB cases 0x28 to 0x2F togethertwinaphex
2014-12-12CPU interpreter - group Thumb opcode case ranges 0x20 - 0x27 togethertwinaphex
2014-12-12execute_arm_instruction and execute_thumb_instruction - throw themtwinaphex
straight into execute_arm/execute_thumb functions
2014-12-10Add HAVE_DYNAREC ifdeftwinaphex
2014-12-10Code nits - get rid of '== NULL' / '!= NULL'twinaphex
2014-12-10Style nitstwinaphex
2014-12-10cleanupsaliaspider
2014-12-10implement retro_serialize/unserializealiaspider
2014-12-10Remove SDL code in cpu.ctwinaphex
2014-12-10Add macro parameter 'opcode' to some macrostwinaphex
2014-12-09Assume PC_BUILDtwinaphex
2014-12-09Remove gui.ctwinaphex
2014-12-09video output now works in statically linked builds.aliaspider
core can't be used as a shared library yet due to the dynarec not working when compiled with -fPIC
2014-12-09can compilealiaspider
2011-09-06enable -Wall and fix warnings reported by itnotaz
2011-09-03fix some warningsnotaz
2009-05-21original source from gpsp09-2xb_src.tar.bz2notaz