Commit Graph
5353 Commits
Author SHA1 Message Date
Henrik Rydgård 82d69fad8d Merge pull request #7146 from hrydgard/sha256
Quick implementation of sceSha256Digest from #7134
2014-12-08 10:40:56 +01:00
Henrik Rydgård e46976f08e Merge pull request #7147 from lioncash/moarconst
Mark some functions as const
2014-12-08 00:25:42 +01:00
Henrik Rydgard 2bce7bc460 X64Emitter: Merge some AVX stuff from Dolphin 2014-12-07 23:09:38 +01:00
Lioncash a962bc5a6c Mark some functions as const 2014-12-07 17:08:13 -05:00
Henrik Rydgard 78240198dc Oops 2014-12-07 21:31:44 +01:00
Henrik Rydgard 8102a67602 Implement sceSha256Digest (untested) 2014-12-07 19:25:45 +01:00
Henrik Rydgard 29dcc0a303 Minor cleanups, warning fixes 2014-12-06 12:25:28 +01:00
Henrik Rydgard fb251c9a5c Merge Intel Atom detection from Dolphin's CPU detect 2014-12-06 11:35:01 +01:00
TwistedUmbrella 3f4d58b0b2 use libc++ for iOS to avoid additional directives 2014-12-05 19:47:02 -05:00
Henrik Rydgard 5290ffd929 Minor cleanup in vtfm. Re-enable vrot combination. Optimize vfad/vavg when dpps is available.
Also fixes bug in emitter of dpps.
2014-12-03 22:44:32 +01:00
Unknown W. Brackets bafa7d0670 Add git-version to more than just Core.
This won't catch native or armips, but it will catch more before and still
won't make the build wrongly dirty all the time.

See #5575.
2014-12-02 22:55:19 -08:00
Henrik Rydgard 66d74981b5 Merge ARM emitter updates from the NEON branch 2014-11-29 10:49:22 +01:00
Henrik Rydgard 344f71b092 x86 jit: Commit commented-out haddps-based vdot.q as reminder not to use haddps... 2014-11-28 00:19:11 +01:00
Henrik Rydgard 5033babb10 x86 Jit: SIMD-ify vdot 2014-11-26 23:47:18 +01:00
Henrik Rydgard 804de50711 x86 jit: SIMD-ify VFPU register file writebacks where possible 2014-11-26 01:33:05 +01:00
Unknown W. Brackets e2e97a8f4e mips: Add smarter delay slot handling to emitter. 2014-11-20 00:37:38 -08:00
Sacha 0d2c7846f5 MIPS: Add EXT/INS/BLTZ eo emitter. Fix LUI. 2014-11-19 13:31:08 +10:00
Sacha 10f6db27ca Add Mips CPU Detection. 2014-11-19 08:51:15 +10:00
Unknown W. Brackets 44fc7c6c71 mips: MIPSX -> MIPS. 2014-11-18 09:21:46 -08:00
Unknown W. Brackets 4de9b9692e mips: Add JALR/JR. QuickCallFunction should link. 2014-11-18 09:12:16 -08:00
Unknown W. Brackets 5b18353584 mips: Add helpers for constant loads. 2014-11-18 08:41:28 -08:00
Unknown W. Brackets 29365e6775 mips: Clean up MIPSXEmitter a bit.
Don't even want dangerous funcs like SUB().

Keeping things in opcode order at least locally so it doesn't get
confusing to maintain.  Also fixed a bunch of missing asserts.
2014-11-18 08:41:20 -08:00
xSachaandUnknown W. Brackets 4167b66808 Add some more MIPS instructions 2014-11-18 08:41:09 -08:00
SachaandUnknown W. Brackets 65e008f053 Implement a MipsJit. 2014-11-18 08:40:57 -08:00
Unknown W. Brackets 8b6a5f2ecc mips: Duh, oops. LUI is one reg, of course. 2014-11-18 08:40:30 -08:00
Unknown W. Brackets 0df0ea7d85 mips: Add a basic MIPSXCodeBlock. 2014-11-18 08:40:30 -08:00
Unknown W. Brackets 2903e72daa mips: Add basic load/store for the MIPS emitter. 2014-11-18 08:40:30 -08:00
Unknown W. Brackets 5cadab0273 mips: Add some basic jumping and logic instructions. 2014-11-18 08:40:29 -08:00
Unknown W. Brackets 6407e4a32a mips: Initial structure for a MIPS emitter. 2014-11-18 08:40:29 -08:00
Henrik Rydgard 53b5d331b4 Assorted minor optimizations 2014-11-17 21:21:44 +01:00
Henrik Rydgard 28ca8d4818 x86 jit: Use LEA to emulate addu but only when it can save a few bytes 2014-11-16 17:39:47 +01:00
chinhodado 3a15da48ac Change to pass by reference 2014-11-14 22:26:28 -05:00
chinhodado 4bac356df6 Use const 2014-11-14 16:13:06 -05:00
xSacha 57e4088216 Introduce fake vertex decoder JIT as well.
Compiles and links on CI20 but gets unknown crash in GL driver.
2014-11-13 17:10:29 +10:00
Sacha a0086f6412 Introduce a Fake JIT for generic builds. 2014-11-13 00:09:51 +10:00
Henrik Rydgard 9e0aa8eaa3 Drop silly way of doing CPUID on Android, the right way seems to work 2014-11-12 00:29:16 +01:00
Henrik Rydgard 784bf82b58 Improve AVX check in CPUDetect. Warning fix.
Keeping the ifdef for zenfone - still doesn't work without it
2014-11-11 23:48:58 +01:00
Henrik Rydgard 7409263eb0 Make CPUDetect.cpp not blow up on Zenfone devices.
Don't really know what's going on here, but this seems like the easiest way out. Appears that CPUID really is buggy on this hardware, which seems weird. Alternate explanations would be that we are checking the wrong bits for xgetbv support or something...
2014-11-11 23:08:28 +01:00
Sacha ee0c593258 Fix Android. 2014-11-12 03:19:46 +10:00
Sacha 1ba9103cef Better support for new archs. 2014-11-11 22:55:49 +10:00
Unknown W. Brackets bc7497857a x86jit: Micro optimize vi2x a bit with ssse3/sse4.
Both are small wins.
2014-11-08 12:13:26 -08:00
Unknown W. Brackets 0e646f748a x86jit: Implement vi2x instructions.
Also, my opcodes were wrong in the test (shifted the pair bit the wrong
way, oops.)

AFAICT, there's no reason PSRAD/etc. were not encoding REX...
2014-11-08 12:13:26 -08:00
Andrey Bondrov 5201f03720 Add a hotkey to swap D-pad and left analog stick keys 2014-11-07 22:40:53 +10:00
Unknown W. Brackets d7bdded6f8 x86jit: fix rip addressing on PEXTRW/PINSRW.
I think this is right anyway, not 100% sure.
2014-11-03 23:18:32 -08:00
Unknown W. Brackets 844c7e73d3 x86jit: Add SSE 4.1 rounding ops to emitter. 2014-11-03 23:18:09 -08:00
Henrik Rydgård f1d43e7e90 Merge pull request #7046 from unknownbrackets/perf
Improve load and shutdown performance a bit
2014-11-03 21:50:10 +01:00
Unknown W. Brackets ad6b176e11 Naturally, modern C++ would not build on Symbian. 2014-11-03 08:56:45 -08:00
Unknown W. Brackets 9d86d3ca9b Use std::unordered_multimaps in a few places. 2014-11-03 08:31:52 -08:00
Unknown W. Brackets dd497e5a02 Show an error when savedata can't be written.
Normally we'll log when the disk is full for files, but if we can't even
create the folder, we'll get errors trying to write into a non-existing
directory.
2014-11-02 13:30:00 -08:00
Henrik Rydgård 28efc0aa13 Merge pull request #6694 from ToadKing/master
Try to allocate executable memory close to PPSSPP memory if not below 4GB
2014-10-18 11:14:20 +02:00