Commit Graph

600 Commits

Author SHA1 Message Date
Unknown W. Brackets
f165a15eff Fix a -unsigned warning.
Looks ugly, but (u32)-(s32)val is what we really want here.

Also make a __FUNCTION__ redeclaration warning go away.
2013-11-15 08:18:34 -08:00
Sacha
e3bdb3e09b Disable LitPool as it is causing crashes with Vertex Decoder JIT. Performance seems to be almost unaffected since the IMM changes. 2013-11-15 14:12:00 +10:00
Sacha
20e8a81268 Switch to compile-time ARMV7 define. 2013-11-15 11:20:39 +10:00
Sacha
e6320f2726 Add a CPU Extensions tab to Developer's System Info. 2013-11-15 01:18:29 +10:00
Sacha
a74718c54f Snapdragon Plus also has IDIV. Clean up for ArmCPUDetect. 2013-11-15 01:18:29 +10:00
Henrik Rydgard
6221dbaf5d Optimize software skinning for x86.
Can't seem to get a win on Windows vs hardware skinning though, even though
draw calls drop by 2/3rd...
2013-11-13 18:10:58 +01:00
Henrik Rydgård
ddf5b695ac Update ArmEmitter with Sonic1's new NEON emitters. Thanks! 2013-11-13 11:34:47 +01:00
Henrik Rydgård
a0c6b18134 CPUDetect x86: Detect FMA support 2013-11-13 10:47:05 +01:00
Sacha
04b338f39e Buildfix for sse2 builds. 2013-11-13 12:08:46 +10:00
Sacha
08803c101e Remove MathUtil.{cpp,h} 2013-11-13 11:26:12 +10:00
The Dax
0b609b72fb Fix Windows build. 2013-11-12 18:26:32 -05:00
Sacha
8597893e14 Fix Blackberry QWERTY default values. 2013-11-13 04:22:21 +10:00
Sacha
ba28ece947 Remove unused StdConditionalVar 2013-11-13 03:52:12 +10:00
Sacha
91ddddc2ef Remove unused Thread.{cpp,h} 2013-11-13 02:50:46 +10:00
Sacha
1d9f6e5c0c Code clean up for atomics. Remove glib usage in Symbian as the kernel calls actually fit nicer. 2013-11-13 00:30:26 +10:00
Sacha
2fb7a77135 Code cleanup. Use lambdas in Thread.h (port from Dolphin). 2013-11-13 00:30:26 +10:00
Sacha
a8a8223c06 Symbian: Fix incorrect define. Wasn't showing correct # cores. 2013-11-12 16:00:43 +10:00
Unknown W. Brackets
1a98691c57 armjit: Fix ANDI2R() clearing low bits incorrectly. 2013-11-11 19:07:16 -08:00
Sacha
d50b01a778 Doesn't really 'free', so called 'reset' instead. 2013-11-12 02:13:34 +10:00
Sacha
3bc8adf426 Fix crashes on Symbian related to memory allocation. 2013-11-12 02:06:12 +10:00
Unknown W. Brackets
ee492099b5 Avoid a literal in ORI2R where possible. 2013-11-10 14:38:08 -08:00
Sacha
2c795907b2 Symbian: Handle multiple executable memory allocations.
Windows: Remove MemUsage (from Dolphin) as it was unused.
Fix some tabbing.
2013-11-11 02:55:45 +10:00
Unknown W. Brackets
92d5643423 Implement SetCurrentThreadAffinity on Android.
But, it doesn't really seem to improve performance.
2013-11-09 23:08:45 -08:00
Unknown W. Brackets
83fe874dcc armjit: Use multiple BICs in ANDI2R if possible.
Rather than a temporary.
2013-11-09 08:42:31 -08:00
Unknown W. Brackets
6038d96b46 armjit: Flush regs using STMIA where possible. 2013-11-09 08:25:07 -08:00
Henrik Rydgard
1bf83efe9e ARM optimization in ADDI2R: Dual adds instead of MOVI2R, ADD when possible 2013-11-08 12:43:47 +01:00
Henrik Rydgård
a03e5c6de0 Merge pull request #4460 from hrydgard/vertex-decoder-jit
Vertex decoder JIT
2013-11-05 07:30:58 -08:00
Unknown W. Brackets
f6662054bd Fix arm emitter bug in LDRH and friends. 2013-11-05 00:32:08 -08:00
Unknown W. Brackets
732ae13ebb Fast path CallSyscall where possible.
It seems we're spending a decent amount of time there, which isn't
entirely unexpected.  We can eliminate some things easily.
2013-11-04 07:59:37 -08:00
Unknown W. Brackets
7a8671f8a2 Add a TSTI2R helper for readability mainly. 2013-11-03 21:58:26 -08:00
Unknown W. Brackets
5de7181b36 Add other forms of LDM/STM to the emitter. 2013-11-03 21:31:05 -08:00
Sacha
52eb46c291 Buildfix for Symbian. Remove unused swap code.
Symbian didn't like the -= even though Linux did.
2013-11-03 20:40:40 +10:00
Sacha
3abeb62230 Use new OS10.2 APIs for detecting some CPU info on Blackberry. 2013-11-02 00:35:39 +10:00
Henrik Rydgård
5b58497b0d Flip the default Y-axis stick mapping for Ouya 2013-11-01 12:03:38 +01:00
Henrik Rydgård
43240515de Fix weird axis mapping issue on Ouya 2013-10-31 11:06:54 +01:00
Henrik Rydgård
cdee118c60 Make the default control mapping on Ouya a bit more workable:
Start/Select are now mapped to the analog triggers instead of
non-existing buttons.
2013-10-31 10:51:03 +01:00
Sacha
e411968dc9 Remove duplicate thread library (StdThread) 2013-10-29 11:50:29 +10:00
Henrik Rydgård
0e54e24b24 Revert "Use swap code from native instead. Remove all other versions of it."
Broke movie playback.

This reverts commit 9fcb08a326.

Conflicts:
	native
2013-10-28 17:24:03 +01:00
Henrik Rydgard
9df2025c4f Azerty L/R fix 2013-10-28 11:25:18 +01:00
Henrik Rydgård
e5d802e82f Merge pull request #4339 from unknownbrackets/linux-minor
Fix Linux x86 pic build (Qt) for some versions of gcc
2013-10-27 11:54:15 -07:00
Sacha
9fcb08a326 Use swap code from native instead. Remove all other versions of it. 2013-10-28 03:07:32 +10:00
Unknown W. Brackets
443c719744 Support i386 PIC Linux builds (for Qt.) 2013-10-27 16:40:44 +00:00
Unknown W. Brackets
95c8ee5089 Missing stddef library (Linux buildfix.) 2013-10-27 15:52:40 +00:00
Sacha
484cb8211c Removed unused OpenSSL code and don't compile it. 2013-10-28 01:18:29 +10:00
Unknown W. Brackets
ffa0f2fb44 Fix some arm emitter warnings on win64.
We link it in for debugging purposes.
2013-10-26 17:57:40 -07:00
Sacha
0282b505b0 Fix CPUDetect for i386 devices. Thanks @Sonic1. Confirmed by ganoo. 2013-10-26 01:18:59 +10:00
Sacha
cc5934a588 Blackberry threading optimisations. 2013-10-25 21:52:50 +10:00
Sacha
4c52346063 Use Blackberry/UNIX time functions instead of fallbacks. 2013-10-25 21:52:50 +10:00
Henrik Rydgard
6c5a2ea91a Windows: Try to autodetect and adjust for QWERTZ and AZERTY keyboard layouts.
Might not have all the layout codes necessary yet.
2013-10-24 12:45:44 +02:00
Unknown W. Brackets
a1c280f46b Simplify __cpuidex().
Wasn't building 32-bit for me on Ubuntu.
2013-10-20 23:45:56 -07:00