Sacha
97e93f48fd
Clean up LitPool code and re-enable flushing in AsmJit
2014-08-20 18:29:37 +10:00
Sacha
7691e0e0b5
Enable LitPool for ARMv6.
...
Was originally disabled because vertex JIT wasn't flushing but it now does.
2014-08-20 17:25:58 +10:00
The Dax
784f311d76
Make it available for everybody.
2014-08-17 14:36:35 -04:00
Toad King
b98c79bd0a
fix 32-bit builds
2014-08-06 22:02:45 -04:00
Toad King
9f24203ef8
executable memory allocation changes
2014-08-06 21:06:49 -04:00
Toad King
aa0b4964ed
Try to allocate executable memory close to PPSSPP memory if not below 4GB
2014-08-05 18:45:19 -04:00
Sacha
6ce3765b12
Sailfish: More compatibility with SailFish OS. It also needs stddef where Maemo does.
...
Set packaging by default for iOS with b.sh.
2014-07-24 23:20:09 +10:00
Henrik Rydgard
d3dce422a8
X64emitter: merge from dolphin
2014-07-20 00:21:28 +02:00
Sacha
b8432c0cc5
Blackberry: Link with pie (required for 10.3?). Fix debug build. Cmake: Show compile type (debug, release) in output.
2014-07-07 04:04:26 +10:00
Henrik Rydgård
bfffe33438
Merge pull request #6469 from unknownbrackets/logging
...
Enforce semicolons at the end of log lines
2014-06-30 11:44:02 +02:00
Unknown W. Brackets
f339f7d539
armjit: Handle NAN correctly in float conversion.
2014-06-29 20:05:59 -07:00
Unknown W. Brackets
0a33eb4c42
Fix missing log semicolons only affecting logging.
2014-06-29 19:09:39 -07:00
Henrik Rydgard
38609f3e6b
Cleam up thread names a bit, name the Main thread.
...
Also makes some logging VERBOSE.
2014-06-29 12:53:03 +02:00
Sacha
946deda4b3
Remove some redundancy (Symbian/Qt). Symbian has cstdint now.
2014-06-24 08:29:04 +10:00
Henrik Rydgard
cefc0bc96f
Play the game's SND0.AT3 when a game is selected in the menu and on the "game screen".
2014-06-22 17:02:04 +02:00
Sacha
ea17e17ebd
Join both Maemo platforms (Maemo5 + Meego Harmattan/Maemo 6) to MAEMO define. Technically they are very similar and anything that wasn't already defined for both probably needed to be.
2014-06-18 03:42:31 +10:00
Unknown W. Brackets
9e97206c5f
Actually buildfix Linux / Android x86.
2014-06-13 23:42:28 -07:00
Unknown W. Brackets
b3541084c1
Buildfix for Linux/Android x86.
2014-06-13 23:10:02 -07:00
Henrik Rydgard
af9bfaed9c
Attempt fix for cpuid on x86
...
Sign extension would be bad.
(couldn't test it right now, adb driver issues :/)
2014-06-14 00:55:02 +02:00
Sacha
c745072b55
Update Symbian to GCC 4.8.3
2014-06-11 03:10:50 +10:00
Henrik Rydgard
120e4329ba
Revert the analog key names (lost mappings)
2014-06-10 00:24:14 +02:00
Henrik Rydgard
c39c36ddea
Improve layout of control mapping screen
2014-06-09 22:26:23 +02:00
Henrik Rydgard
d6b51d4dfa
Reduce some excessive logging
2014-06-09 19:40:05 +02:00
mildlysec
c3dfb64839
Added ability to press analog keys lightly using shift button
2014-06-07 22:21:54 +02:00
Sacha
c9261b77f7
Silly typos.
2014-06-08 05:18:29 +10:00
Sacha
cb04c073b9
Update ArmCPUDetect to fix potential crashes. Merge from Dolphin.
2014-06-08 05:10:10 +10:00
pal1000
8d9ecbb6b3
Do not map these keys. They are hard-coded. It just a waste. They are leftover from before finding the proper solution.
2014-06-06 18:19:10 +03:00
pal1000
a41737ebe7
Save state, load state and next save slot shortcuts are no longer hardcoded.
2014-06-06 11:52:33 +03:00
Sacha
ed96d73187
Use OpenCPPFile for iostream open without the ifdef's.
2014-06-06 00:22:43 +10:00
Sacha
d50f08fb6e
Fix Symbian debug build.
2014-06-05 18:15:24 +10:00
Sacha
4c8a615f76
CMake: Make the code more platform-agnostic and cleaner.
2014-05-31 01:22:11 +10:00
Sacha
9b7ab3816f
Clean up MemArena and MemMap. Remove Symbian from MemArena (shouldn't have more ifdefs than code)
2014-05-29 03:30:23 +10:00
Sacha
f94f28fb4a
Symbian: Over allocate VRAM (x4) in attempt to solve crash caused by 0.9.8-601. This brings allocation to the same as before the commit. See #6103
2014-05-28 01:52:38 +10:00
Henrik Rydgard
3023f7d06b
Android: Switch dpad default to use HAT X/Y +/- instead of "dpad", as documented.
...
Add a simple "autoconfigure" facility for input devices, that lets the user choose
if several are connected.
Can be expanded in the future to provide custom default mapppings for various devices as long as we manage to identify them.
Ideally, key mappings should be unique per device but they aren't yet.
2014-05-19 23:31:11 +02:00
Karen Tsai
a42c970a25
Fixed PPSSPP crash on iOS 5. Fixes issue #5613 .
2014-05-14 21:36:08 -04:00
The Dax
3259b61cf2
Win32: Implement "-d" command-line switch. It didn't do anything, previously.
...
Also added a helper func to set all log levels at once. Should be handy if we clean up the logging channels screen.
2014-03-31 22:44:05 -04:00
Unknown W. Brackets
6677d96a38
Fix memory leak in memory arenas on x64.
2014-03-30 17:30:11 -07:00
Henrik Rydgard
221216b5b2
Bugfix in x64 emitter, thanks magumagu
2014-03-27 22:25:30 +01:00
Unknown W. Brackets
2f5c6a5660
Fix VLDM/VSTM encoding for double/quad regs.
...
Duh, forgot to check Vd. Fixes #5723 .
2014-03-25 22:08:20 -07:00
Unknown W. Brackets
b589d3b170
vertexjit: Fix a silly mistake in weights > 4.
...
Darn switch, took me way too long to notice this.
2014-03-23 19:02:40 -07:00
Unknown W. Brackets
717e6db3a7
Fix VDUP so that it actually works.
2014-03-23 17:51:32 -07:00
Unknown W. Brackets
009c3ee3f7
vertexjit: Save S16-S31 registers in ARM.
2014-03-23 16:26:13 -07:00
Unknown W. Brackets
f74b765ff3
Fix VLDM/VSTM encoding for D/Q regs.
...
Now it is actually using ASIMD/NEON.
2014-03-23 16:26:13 -07:00
Unknown W. Brackets
ff2d5bb17e
Add a float->GP reg, fix VDUP for I_16.
2014-03-23 16:25:56 -07:00
Unknown W. Brackets
8056440ba1
Implement NEON register VMOVs.
2014-03-23 16:25:52 -07:00
Unknown W. Brackets
2b586b2a7a
Support other constant VMOVs on NEON.
...
Float is especially useful.
2014-03-23 16:12:51 -07:00
Unknown W. Brackets
3e1cd5c161
Add a NEON VMOV imm encoding to the emitter.
2014-03-23 16:12:46 -07:00
Unknown W. Brackets
06db03ac9e
Add some asserts to VLDM/VSTM.
2014-03-22 16:12:35 -07:00
Unknown W. Brackets
60bbf4af3b
Fix VLD1/VST1 n=4.
2014-03-22 16:12:08 -07:00
Unknown W. Brackets
f3d38ee269
Fix VMOV for Dregs and VSHL reg order.
2014-03-22 16:12:00 -07:00
Unknown W. Brackets
0da9c1851c
vertexjit: Add VQMOV(U)N and fix VMOVN size.
...
It will be too confusing if it's specified as the destination, unlike
VMOVL. Plus the assembler syntax uses the source size.
2014-03-22 16:11:36 -07:00
Unknown W. Brackets
632eec38e8
vertexjit: Use SSE4.1 where available on x86.
...
Just because we can.
2014-03-22 16:11:16 -07:00
Unknown W. Brackets
162f229294
vertexjit: Support the color morphs on x86.
2014-03-22 15:56:29 -07:00
Henrik Rydgård
8dfadf7b8e
ArmEmitter: Add VMOV_neon and a Size parameter to VFMA for consistency.
2014-03-22 16:31:16 +01:00
Unknown W. Brackets
e783627947
armjit: Use our I2R funcs on reg/reg math too.
...
When one is a known immediate. This should catch more cases, like:
ori v0, $0, 0xFFFF
and v1, v1, v0
2014-03-14 19:15:43 -07:00
Unknown W. Brackets
836787d19a
Optimize ANDI2R() to use UBFX if possible.
...
This way, & 0x7FF or & 0xFFFF etc. are all fast when on ARMv7.
2014-03-14 19:15:42 -07:00
Unknown W. Brackets
3a07924ad9
Add Try arm emitter I2R funcs.
...
This way we can use them without giving up the regcache's immediate
optimizations.
2014-03-14 19:15:42 -07:00
Unknown W. Brackets
48fa22b7cf
B/BL were swapped in the arm emitter.
...
Oops...
2014-03-14 19:15:41 -07:00
Unknown W. Brackets
76305130ee
Add a couple missing (unused) ARM instructions.
2014-03-14 19:15:39 -07:00
Henrik Rydgard
ab9cd99d0f
Major ARM disassembler improvements, will make debugging the JIT easier
2014-03-12 18:09:28 +01:00
Henrik Rydgard
adadf11890
An attempt to combine FPU regcache writebacks with VSTMIA. Disabled due to bugs.
2014-03-11 11:03:51 +01:00
Henrik Rydgard
2eb6a4e2f2
Fix a warning, rename some parameters, etc.
2014-03-08 10:40:43 +01:00
Sacha
ad31cd1b7c
Clean up ArmEmitter (cross-merge from Dolphin, minus the bad bits)
2014-03-07 15:47:34 +10:00
Sacha
30a6a5d10f
ARMJIT: Implement VLDM/VSTM load/store combinations and use in armjit. Also add them to disassembler.
2014-03-07 02:56:34 +10:00
Henrik Rydgård
374e12afc3
Merge pull request #5590 from unknownbrackets/xbox
...
Merge more parts of #4716
2014-03-03 13:37:21 +07:00
Unknown W. Brackets
ca938bf353
Cut down on locking in DEBUG_LOG.
...
Reduces GenericLog() from 13.8% to 1.5% in Where Is My Heart?, will
probably help other games to a lesser extent.
2014-03-02 22:03:02 -08:00
Ced2911
418d2ac8ce
[xbox] 360 support for common
2014-03-02 12:15:10 -08:00
Ced2911
3be063d28a
[Xbox] Use intrinsics swap
2014-03-02 12:02:51 -08:00
Ced2911
93f08b4035
[Jit] add subfic
2014-03-02 11:45:48 -08:00
Ced2911
cd283089aa
[Jit] Mov2ir optimisation
2014-03-02 11:45:27 -08:00
Ced2911
38a59cca95
[Jit] Fixes BNE
2014-03-02 11:44:31 -08:00
Ced2911
2ac5d38b90
[Jit] add more instruction
2014-03-02 11:43:58 -08:00
Ced2911
09210a2ce9
[jit] round fpu
2014-03-02 11:42:18 -08:00
Unknown W. Brackets
d3bead638f
Add ppcEmitter.cpp/h to the MSVC project.
...
So that it's searchable/etc.
2014-03-02 11:41:22 -08:00
Ced2911
08595f55a6
[jit] save fpr, less crashes ?
2014-03-02 11:40:52 -08:00
Ced2911
1e1a2fec8b
[Common] add unsigned long
2014-03-02 11:18:42 -08:00
Ced2911
47be01e8b5
[Xbox] Missings files
2014-03-02 11:16:56 -08:00
Unknown W. Brackets
eb386603fa
Oops, still had an unaligned stack in some thunks.
2014-02-23 16:56:27 -08:00
Sacha
6b8ab2e044
Fix keyboard on Blackberry.
2014-02-19 22:33:28 +10:00
kaienfr
9b0994e8a6
fix iOS7 crash
2014-02-18 15:53:48 +01:00
Henrik Rydgård
8da651b6c1
Merge pull request #5479 from sum2012/log
...
Enable produce DEBUG_LOG rather than INFO_LOG in Windows who don't need install Visual Studio Express
2014-02-18 00:36:22 +01:00
Henrik Rydgård
b894bd9b27
Merge pull request #5489 from unknownbrackets/jit-minor
...
Fix stack overflow on x64 with memchecks, darn it
2014-02-17 07:23:45 +01:00
Unknown W. Brackets
60515bbcd9
Properly allow for Windows' "home space" on x64.
...
Fixes #5484 .
2014-02-16 21:06:08 -08:00
Unknown W. Brackets
f2ba0f136d
Fix stack overflow on x64 with memchecks, darn it.
2014-02-16 19:18:08 -08:00
sum2012
de78674d62
Set default DEBUG when produce a debug build
2014-02-16 12:09:59 +08:00
sum2012
d96fc0858c
Enable produce DEBUG_LOG rather tha INFO_LOG without install Visual studio express in windows
...
Default is INFO_LOG
More people can post DEBUG_LOG.
2014-02-16 12:04:31 +08:00
Henrik Rydgard
d49cffe3f5
Buildfix
2014-02-15 20:14:40 +01:00
chinhodado
f02ea25ea6
fix the "No disk" dialog when starting up ppsspp
2014-02-15 14:01:47 -05:00
Unknown W. Brackets
d7233159aa
Store thunk regs on the stack, not a global.
...
This may even be more near active memory anyway, but it reduces the "64
bit address out of range" RIP issues a bit too. It's currently impossible
to enable appverif memory checks and jit in 64-bit...
Avoided the 32-bit path because I'm less sure about alignment.
2014-02-14 22:59:57 -08:00
Unknown W. Brackets
cd4cd77938
Clean up defines in MSVC project files.
...
This way they're all basically the same. A lot of cases where
debug/release/etc. where inconsistent...
Also, define USING_WIN_UI.
2014-02-08 16:38:44 -08:00
Unknown W. Brackets
d2108a962e
Switch from USING_GLES2 to MOBILE_DEVICE.
...
Still using USING_GLES2 for, well, GLES2. But for things that are really
about mobile, we need a new define. Devices are coming that don't use
GLES2.
2014-02-08 16:37:58 -08:00
Unknown W. Brackets
2c204e8028
Update project to MSVC 2013 tools.
...
Retaining XP support, using SDK 7.1a (v120_xp.) Disables SSE2 flag on x64
since it's implied and causes compile warnings.
2014-02-08 13:41:28 -08:00
Ced2911
ff65b30ee4
[Swap] more operator
2014-01-26 14:29:20 -08:00
Unknown W. Brackets
760c6ab0ec
Allow savestates to handle u32_le/u32_be.
...
This may make them work or closer to on Xbox 360.
2014-01-26 14:24:32 -08:00
Unknown W. Brackets
08f812518f
Switch game browser tabs using L/R buttons.
...
Even with keyboard / custom controller mapping.
2014-01-25 12:01:48 -08:00
Unknown W. Brackets
2bf061d05b
Trigger a touch event before sending a right click.
...
This way we can know what they actually right clicked on.
2014-01-25 11:19:41 -08:00
Unknown W. Brackets
091ddd9f3f
Android/Linux buildfix.
...
Arg, why?
2014-01-18 14:05:32 -08:00
Unknown W. Brackets
2347498667
x86jit: Use templates to avoid some void * casts.
...
Makes it a bit cleaner and potentially safer.
2014-01-18 09:57:13 -08:00
ufdada
e3ae387e39
Textstring for additional keys
...
see: https://github.com/hrydgard/native/pull/188
2014-01-13 16:42:54 +01:00
zack-vii
26fbb4c32c
"Next Slot" control mapping
...
-added "Next Slot" to control mapping menu
-added VIRTKEY_NEXT_SLOT -> incremented VIRTKEY_TOGGLE_FULLSCREEN
-added SaveState::NextSlot(); as replacement for code in
WndMainWindow
-added entry in EmuScreen using SaveState::NextSlot();
2014-01-07 15:56:04 +01:00