Commit Graph

798 Commits

Author SHA1 Message Date
twinaphex 6ddc6f494d Turn two functions static 2014-12-13 05:01:02 +01:00
twinaphex 87b34754f8 Remove more case ranges 2014-12-13 04:55:24 +01:00
twinaphex cefd5b63ee Remove a lot of the GNU case range extensions instances 2014-12-13 04:50:48 +01:00
twinaphex c1375c871f Put ifdef around <sys/mman.h> include 2014-12-13 01:20:10 +01:00
twinaphex 320bf35a8c Get rid of unnecessary macros for sound_timer_queue functions - it
is pretty apparent what this does on its face, and a macro is somewhat
unnecessary for so few invocations
2014-12-12 17:33:29 +01:00
twinaphex 24eef7a3ff cpu_orig.c - restore to original - bigger codesize but faster 2014-12-12 17:22:56 +01:00
twinaphex d76dada07a Get rid of optimize_safe rule for cpu.c 2014-12-12 17:01:18 +01:00
twinaphex 9fcd576a97 Use cpu_orig.c in release builds for now - apparently grouping all
these case ranges made fps slower, not faster. Keep working on
cpu.c to attain a smaller interpreter core so we can eventually
make this a lot more efficient
2014-12-12 16:59:09 +01:00
twinaphex 72573712d3 CPU interpreter - group more case ranges together 2014-12-12 16:52:23 +01:00
twinaphex 701e2bbf50 CPU interpreter - group THUMB cases 0x38 to 0x3F (SUB) together 2014-12-12 06:48:20 +01:00
twinaphex 4a6d527b1c Use thumb_opcode_val & 0x7 instead 2014-12-12 06:45:20 +01:00
twinaphex c1677498a5 CPU interpreter - group THUMB case range 0x30 to 0x37 (ADD) together 2014-12-12 06:42:59 +01:00
twinaphex 4a860b662e CPU interpreter - group THUMB cases 0x28 to 0x2F together 2014-12-12 06:35:17 +01:00
twinaphex ade2bed514 CPU interpreter - group Thumb opcode case ranges 0x20 - 0x27 together 2014-12-12 06:31:16 +01:00
twinaphex f9079ff9fb execute_arm_instruction and execute_thumb_instruction - throw them
straight into execute_arm/execute_thumb functions
2014-12-12 06:12:00 +01:00
twinaphex 27a8be87d1 Make compiling in with the 32bit dynarec optional - also include
a switch to hardforce this
2014-12-12 03:03:55 +01:00
aliaspider a3201b066d increase savestate size, was smaller than what was required for 64-bit
builds.
2014-12-12 02:54:41 +01:00
twinaphex bedf50b36f Another 64bit fix - vertical_pixel_flip needs to be of type s32 2014-12-12 02:23:48 +01:00
twinaphex e83651639f dma_transfer - change dest_ptr to type uintptr_t - fixes 64bit interpreter
according to aliaspider
2014-12-12 01:53:39 +01:00
twinaphex c40748197f Create specialized macro for single_tile_map 2014-12-12 01:49:49 +01:00
twinaphex 522a2facb0 And another one - pt. 4 2014-12-12 01:41:57 +01:00
twinaphex 2dea1673ff And another one - pt. 3 2014-12-12 01:39:08 +01:00
twinaphex 8db28496c8 And another one - pt. 2 2014-12-12 01:36:49 +01:00
twinaphex 80c974a80f Start making specialized functions of multiple_tile_map - pt. 1 2014-12-12 01:34:36 +01:00
twinaphex c54cff8f70 Cut down a lot of duplicate code in tile_render functions 2014-12-12 01:30:05 +01:00
twinaphex bf17a15988 And there, done - tile_render is gone 2014-12-12 01:20:52 +01:00
twinaphex 65272c421b And another one pt. 5 2014-12-12 01:17:36 +01:00
twinaphex f25f747233 And another one pt. 4 2014-12-12 01:15:13 +01:00
twinaphex f19051b039 And another pt .3 2014-12-12 01:12:08 +01:00
twinaphex f72fe7c554 And another one pt. 2 2014-12-12 01:08:27 +01:00
twinaphex 76b4e3f2df And another one 2014-12-12 01:05:32 +01:00
twinaphex 5bcda4e05e Put proper comments in first 2014-12-12 01:02:40 +01:00
twinaphex f139b01562 De-macroize tile_render in render_scanline_text_transparent_normal 2014-12-12 00:58:39 +01:00
twinaphex ad472bf85f Demacro-ize tile_render in render_scanline_text_base_normal 2014-12-12 00:51:51 +01:00
twinaphex ee1a0377cf Unroll render_scanline_text_builder insanity 2014-12-12 00:29:49 +01:00
Alcaro a42f3c57ff Allow core to work without GET_PERF_INTERFACE. 2014-12-11 23:21:27 +01:00
twinaphex 4cfd459d5b Simplify tile_4bpp_draw_base_normal 2014-12-11 22:41:29 +01:00
twinaphex 853be8aea3 Remove unused RENDER_COLOR16_NORMAL ifdefs 2014-12-11 21:38:35 +01:00
twinaphex 1adb50de8c Fixup render_scanline_vram_setup_mode4 2014-12-11 20:51:48 +01:00
twinaphex 8511266962 (video.c) Smal cleanups/micro-opts 2014-12-11 20:50:03 +01:00
twinaphex 36c98a7872 video.c - micro-opts 2014-12-11 20:27:58 +01:00
twinaphex 8d8bb64ef6 Put 'var' variable inside HAVE_DYNAREC ifdef for now to silence
warning
2014-12-11 19:47:36 +01:00
twinaphex 657c7bee5c Create define ARM_ARCH_BLENDING_OPTS - so that we can optionally
compile in the ARM ASM blend file
2014-12-11 19:12:09 +01:00
twinaphex 9ed950fd4e arm/video_blend.S - add another __MACH__ hack 2014-12-11 19:05:18 +01:00
twinaphex 8d7b204c2b (ARM ASM) Add __MACH__ hack to get iOS port linking for now 2014-12-11 19:03:08 +01:00
twinaphex 5b59ef3acc Reimplement cache invalidation code 2014-12-11 18:47:48 +01:00
twinaphex 97166d5cbd Remove warm, keep only fallback cache invalidation routine.
Not available on iOS/Android, only probably there on OpenPandora.
On top of that iOS 8+ deprecated the system() call, so would
probably be becoming obsolete on that platform.
2014-12-11 16:58:34 +01:00
twinaphex d6c3c8dee6 (iOS) Compatibility patches pt. 1 2014-12-11 16:36:30 +01:00
twinaphex 89feda2e3e (ARM ASM) Use .globl instead of .global 2014-12-11 04:57:55 +01:00
twinaphex 9a468a0f3b Demacro-ize dma_transfer_expand 2014-12-11 03:38:57 +01:00