Ryujinx-SDL/src
Sam Lantinga 6e35e42145 Working on bug 3921 - Add some Fastpath to BlitNtoNKey and BlitNtoNKeyCopyAlpha
Sylvain

I did various benches. with clang 6.0.0 on linux, and ndk-r16b on android (NDK_TOOLCHAIN_VERSION=clang).

- still see a x10 speed factor.
- with duff_loops, it does not use vectorisation (but doesn't seem to be a problem).

on linux my patch is already at full speed on -O2, whereas the duff_loops need -O3 (200 ms at -03, and 300ms at -02).

I realized that on Android, I had a slight variation which fits best.
both on linux with -O2 and -O3, and on android with 02/03 and armeabi-v7a/arm64.

Here's the patch.
2018-10-01 14:43:03 -07:00
..
atomic SDL_atomic.c, SDL_spinlock.c: use lock prefix with xchg in Watcom asm. 2018-09-27 11:55:02 +03:00
audio commit c6b28f46b8116552ec2b38d1d3c8535df28ba7a1 2018-10-01 09:47:10 -07:00
core Ensure we wait on the surface resize before returning from setting fullscreen mode. 2018-09-28 20:39:57 -07:00
cpuinfo Fixed bug 4277 - warnings patch 2018-09-27 14:56:29 -07:00
dynapi Fixed bug 4264 - SDL_CreateTextureFromSurface generates error message but returns ok 2018-09-24 16:41:55 -07:00
events Filter both SIZE_CHANGED and RESIZED on any SIZE_CHANGED 2018-08-13 12:52:52 -04:00
file Updated copyright for 2018 2018-01-03 10:03:25 -08:00
filesystem revert the recent typecast assignment changes (see bug #4079) 2018-02-12 17:00:00 +03:00
haptic Implement SDL_HapticStopEffect on Android (thanks Rachel!) 2018-08-24 10:41:57 -07:00
hidapi hidapi/windows/hid.c: comment out ntdef.h include after windows.h. 2018-09-28 13:44:10 +03:00
joystick Corrected PS4 controller entry 2018-09-30 22:43:12 -07:00
libm libm: one more static analysis fix. 2018-08-10 15:22:02 -04:00
loadso Updated copyright for 2018 2018-01-03 10:03:25 -08:00
main Updated version to 2.0.9 2018-09-26 10:08:14 -07:00
power Handle NULL return from SDL_DBus_GetContext() 2018-04-23 20:24:12 -07:00
render Fixed mingw-w64 build 2018-09-28 00:40:35 -07:00
sensor Fixed bug 4277 - warnings patch 2018-09-27 14:56:29 -07:00
stdlib Fixed bug 4283 - SDL's version of memset is different from libc's 2018-09-28 20:48:18 -07:00
test Added SDL_GetDisplayOrientation() to get the display orientation, and added a new event SDL_DISPLAYEVENT to notify the application when the orientation changes. 2018-08-22 21:48:28 -07:00
thread thread: fixed compiler warnings on non-Linux systems that use pthread. 2018-05-21 12:00:21 -04:00
timer Updated copyright for 2018 2018-01-03 10:03:25 -08:00
video Working on bug 3921 - Add some Fastpath to BlitNtoNKey and BlitNtoNKeyCopyAlpha 2018-10-01 14:43:03 -07:00
SDL_assert_c.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_assert.c use the 'aborts' pragma of Watcom for SDL_NORETURN functions 2018-06-13 14:45:02 +03:00
SDL_dataqueue.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_dataqueue.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_error_c.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_error.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_hints.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_internal.h Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL_log.c Updated copyright for 2018 2018-01-03 10:03:25 -08:00
SDL.c Fixed whitespace 2018-09-24 11:49:25 -07:00