Henrik Rydgård
abc0f88a55
Update submodules
2015-07-22 22:19:58 +02:00
Henrik Rydgard
ea33f50a8a
Minor optimization: Help stupid compilers avoid a division (and a multiplication).
2015-07-22 21:03:27 +02:00
Henrik Rydgard
1c8bae0925
Compile with -mstackrealign on Android-x86, "fixing" mystery crashes on Zenfone.
...
This is really just a workaround, I have no idea what is misaligning the stack. But it doesn't feel like it's us.
This has a small performance penalty but x86-Android is pretty rare, and it's better than crashing.
2015-07-22 21:03:27 +02:00
Henrik Rydgård
11f64ee27b
System info: Make it obvious which GPU vendor we detected. Remove the math precision reporting, which seems inaccurate anyway.
2015-07-21 20:48:10 +02:00
Henrik Rydgård
f4e0034aef
Merge pull request #7869 from unknownbrackets/jit-minor
...
Check all jit blocks in sceKernelIcacheInvalidateAll()
2015-07-19 22:39:08 +02:00
Unknown W. Brackets
9262ddfc13
Avoid any possible shifts by 32.
2015-07-19 13:25:50 -07:00
Unknown W. Brackets
cd842ac21f
Validate blocklinking in icache invalidate all.
...
Normally blocks are invalidated on entry. But when blocklinking is on,
we don't validate on all entries.
This fixes Tales of Rebirth crashes (#7868.)
2015-07-19 13:08:32 -07:00
Unknown W. Brackets
96b01e4999
Make sure we don't clean up proxy blocks.
2015-07-19 13:04:06 -07:00
Henrik Rydgard
a459e0a733
Add a few little helper scripts to symbolize the last backtrace from adb logcat
2015-07-19 18:24:28 +02:00
Henrik Rydgard
e69a14ffff
Don't set ARM "FastMode". Not worth the compat impact as is, could be made smarter. Should help issue #7234
2015-07-19 18:22:22 +02:00
Henrik Rydgard
b6e9a47974
Remove separate OpenSL .so, update native accordingly. Fix connection error reporting in HomebrewStore
2015-07-19 17:33:38 +02:00
Henrik Rydgard
0393da5a59
Delete obsolete file
2015-07-18 19:04:43 +02:00
Unknown W. Brackets
c4ea4e36d7
Let's use pixel_x[y]res directly.
...
There are many paths where this is actually zero still.
2015-07-16 07:29:55 -07:00
Henrik Rydgård
042da34361
Merge pull request #7865 from unknownbrackets/ui-tweaks
...
Use pixelWidth/pixelHeight for Auto (1:1) res
2015-07-16 09:46:44 +02:00
Unknown W. Brackets
c033162abb
Use pixelWidth/pixelHeight for Auto (1:1) res.
...
By definition, it ought to be 1 PSP pixel for each host pixel.
The old way was accounting for dpi (thanks xperia64.)
2015-07-15 21:31:34 -07:00
Henrik Rydgard
db528c2aaa
ARM64: Remove "EXPERIMENTAL" warning text on the title screen, it pretty much works
2015-07-16 00:33:38 +02:00
Henrik Rydgard
47f68ae3a3
ARM64 store optimization bugfix
2015-07-16 00:25:32 +02:00
Henrik Rydgard
aaa8350591
Windows: Fix some remaining ASLR issues
2015-07-15 22:25:24 +02:00
Henrik Rydgård
a1faef4e8f
Merge pull request #7859 from hrydgard/arm64-minor
...
Arm64 minor optimizations
2015-07-15 21:29:37 +02:00
Henrik Rydgard
d3018c1787
Windows: Enable ASLR (had to fix a few pointer truncations)
2015-07-15 20:02:42 +02:00
Henrik Rydgard
ccd77cfb7a
ARM64 stores: Use WZR for any zero immediates.
2015-07-15 20:01:36 +02:00
Henrik Rydgard
73e9c3b3a2
profiler: Track framebuffer reads in its own category
2015-07-12 00:44:11 +02:00
Henrik Rydgard
8b05e27259
ARM64 regalloc: Map more registers
2015-07-11 23:53:06 +02:00
Henrik Rydgard
9fe382ad18
ARM64: Shortcut moves between gpr and vfpu when not mapped
2015-07-11 23:53:06 +02:00
Henrik Rydgard
56f9aaa164
ARM64: Store zeroes using WZR
2015-07-11 23:53:05 +02:00
Henrik Rydgård
1ba2b1cfae
Merge pull request #7855 from hrydgard/static-alloc
...
ARM64 jit: Statically allocate a few registers, including SP
2015-07-11 18:13:47 +02:00
Henrik Rydgard
2e937b2d10
use the DiscardR function. Remove an old TODO
2015-07-11 17:17:54 +02:00
Henrik Rydgard
b73920fcba
ARM64: Cleanups in regcache and jit
2015-07-11 17:00:01 +02:00
Henrik Rydgard
444fc0885c
Fix the crash bug (need to mark static non-pointer regs as depointerified on flush)
2015-07-11 16:59:14 +02:00
Henrik Rydgard
2a8560e522
ARM64: Another pair of fixes for static alloc. Still crashes in many games...
2015-07-11 16:59:14 +02:00
Henrik Rydgard
d1bbc1d3c0
More regcache fixes. ML_IMM works now although there is another stability issue somewhere.
2015-07-11 16:59:13 +02:00
Henrik Rydgard
568e2abb2b
Save/load static registers around replacement funcs
2015-07-11 16:59:13 +02:00
Henrik Rydgard
1b8549b26f
Couple more regcache fixes
2015-07-11 16:59:12 +02:00
Henrik Rydgard
4920f3e3c1
Work towards handling ML_IMM in static registers but doesn't work yet (enable on line 649)
2015-07-11 16:59:11 +02:00
Henrik Rydgard
f42f81a4da
ARM64: Optimize small adjustments of pointerified registers
2015-07-11 16:59:11 +02:00
Henrik Rydgard
9af6abd8a1
ARM64: Support pointerified static allocs, statically allocate SP
2015-07-11 16:59:10 +02:00
Henrik Rydgard
844a3f19a9
Fix bugs and issues in ARM64 static alloc. Thanks unknown for finding the problem.
2015-07-11 16:59:09 +02:00
Henrik Rydgard
a0bf934796
ARM64: Some work on static allocation. Close to working, cube.elf runs 700 blocks but then hangs (?!)
2015-07-11 16:59:09 +02:00
Henrik Rydgard
698ef82452
ARM64: Fix vrot
2015-07-11 16:56:26 +02:00
Henrik Rydgard
9937b41461
ARM64: Fix vi2uc and vi2us and enable them.
2015-07-11 16:46:11 +02:00
Henrik Rydgard
dc2f6a30fb
ARM64: Fix joining of lwl/lwr and swl/swr. "implement" the cache instruction.
2015-07-11 16:25:22 +02:00
Henrik Rydgard
1575025b3d
ARM64: Store back fp registers in pairs where possible
2015-07-11 13:52:46 +02:00
Henrik Rydgard
35c65973c1
ARM64 jit: implement vuc2i, vc2i, vus2i, vs2i instructions
2015-07-11 13:25:58 +02:00
Henrik Rydgard
4a7ee6d6cd
ARM64 jit: Implement vi2uc, vi2c, vi2us, vi2s instructions
2015-07-11 12:37:23 +02:00
Henrik Rydgard
28456bef90
ARM64: Add NEON EOR encoding
2015-07-11 12:36:44 +02:00
Henrik Rydgard
72651835c3
A bunch more ARM64 encodings (*MIN,*MAX,XTN,SHRN, etc)
2015-07-11 12:16:56 +02:00
Henrik Rydgard
f50828a66a
ARM32 JIT: Implement vs2i, vus2i, vc2i (but not vuc2i)
2015-07-11 00:37:57 +02:00
Henrik Rydgard
0be2b93ceb
More ARM32 NEON encoding horrors (VMOVL, VSHLL)
2015-07-10 23:56:42 +02:00
Henrik Rydgard
cd1665e8f6
ARM32 jit: Implement vi2s, vi2c (but not the unsigned variants yet). uses the new shifts from the last commit
2015-07-09 00:27:12 +02:00
Henrik Rydgard
59164cdbfb
ARM32: Disasm and emit NEON shifts-by-immediate
2015-07-09 00:24:57 +02:00