Commit Graph
23807 Commits
Author SHA1 Message Date
Henrik Rydgard 46e839b2b2 ir-jit: Fix bugs in rounding 2016-05-08 02:26:36 +02:00
Henrik Rydgard e750987052 ir-jit: Fix bug in ext 2016-05-08 02:09:01 +02:00
Henrik Rydgard 7d4774db4c Fix wsbw 2016-05-08 02:08:25 +02:00
Henrik Rydgard 1a2edc67d0 Add support for float store/load 2016-05-08 02:03:11 +02:00
Henrik Rydgard ce8aae5ed1 Make the IRJit core selectable in developer tools 2016-05-08 01:43:27 +02:00
Henrik Rydgard 09969c0156 Use the regcache in a new (incomplete) pass, PropagateConstants. 2016-05-08 01:06:07 +02:00
Henrik Rydgard a33f8b68c6 ir-jit: Get rid of the regcache. Should be replaced with optimization passes. 2016-05-07 23:12:53 +02:00
Henrik Rydgard 750d520cc7 Initial work on mult and friends. Fix another bug. 2016-05-07 22:27:58 +02:00
Henrik Rydgård 2c84411426 Merge pull request #8720 from unknownbrackets/tex-range
Move texture decode/hash to after vertex decode
2016-05-07 22:15:19 +02:00
Henrik Rydgard 3c5510e5a3 Disable debug file logging, fix issue with replacement functions, etc 2016-05-07 21:35:12 +02:00
Henrik Rydgard 38b7d89dfb Fix a performance issue in CallSyscall 2016-05-07 21:34:27 +02:00
Henrik Rydgard 12edfcea5a Enough to run cpu_alu.prx. 2016-05-07 21:00:30 +02:00
Henrik Rydgard 4acf85aa06 It's kind of starting to run 2016-05-07 17:37:19 +02:00
Henrik Rydgard d399c4a470 Initial commit for IRJit 2016-05-07 13:58:29 +02:00
Henrik Rydgård 98f2ceed59 Merge pull request #8723 from unknownbrackets/tex-replace
Avoid scheduling a rescale when scaling is off for the texture
2016-05-07 09:37:42 +02:00
Henrik Rydgård 5309d825c1 Merge pull request #8722 from unknownbrackets/vulkan-alloc
Allocate more samplers in Vulkan, other fixes
2016-05-07 09:32:31 +02:00
Unknown W. Brackets 4b89f44d1c Avoid scheduling a rescale when scaling is off.
This happens for PPGe and kernel textures, and replacements.  Before, we
would continually reload, trying to scale, but each time decide not to
scale.
2016-05-06 19:58:01 -07:00
Unknown W. Brackets 4650a288cd Vulkan: Fix auto tex scaling reload. 2016-05-06 19:54:50 -07:00
Unknown W. Brackets 844d96f055 Vulkan: Free allocator safely on exit. 2016-05-06 19:52:46 -07:00
Unknown W. Brackets 5eb66fe167 Vulkan: Allocate more image samplers by default. 2016-05-06 19:51:03 -07:00
Henrik Rydgard 49a6a2f6cf Minor refactor - let's not access a global when we don't need to 2016-05-06 21:22:36 +02:00
Henrik Rydgard a4ca07e683 Hide the Vulkan option on Android until it works. 2016-05-02 17:47:54 -07:00
Unknown W. Brackets 53535558f8 Vulkan: Move texture hash/decode after vtx decode. 2016-05-01 17:42:08 -07:00
Unknown W. Brackets ffef628667 Vulkan: Move ApplyTexture after vert decode. 2016-05-01 17:39:29 -07:00
Unknown W. Brackets f1dda6a53d d3d9: Move texture hashing after vertex decode. 2016-05-01 16:20:05 -07:00
Unknown W. Brackets 4ce02e0920 Fix a couple more bugs in texture build. 2016-05-01 13:42:06 -07:00
Unknown W. Brackets bfe23361cd Update maxSeenV earlier.
Now, the initial fullhash is already on the correct range.
2016-05-01 13:26:12 -07:00
Unknown W. Brackets 6bd86f462d Move texture hashing to end of texture apply.
This might also make it more possible to do it on a thread, but it's
likely still too quick.
2016-05-01 13:24:53 -07:00
Unknown W. Brackets fbef79826b Oops, correct replaceImages. 2016-05-01 13:22:53 -07:00
Unknown W. Brackets bce5c74dbf Refactor out texture rehash check. 2016-05-01 13:11:35 -07:00
Unknown W. Brackets 82c1eaad65 Let's not overuse nextTexture_. 2016-05-01 13:03:40 -07:00
Unknown W. Brackets 1a26699607 Refactor texture loading to move things around. 2016-05-01 11:17:55 -07:00
Unknown W. Brackets 9280bb3eda Merge pull request #8715 from unknownbrackets/tex-replace
Initial texture replacement support
2016-05-01 09:58:16 -07:00
Unknown W. Brackets 2e1986d0c8 Fix a few reorder warnings. 2016-05-01 09:50:03 -07:00
Henrik Rydgård b6d7aab8dc Merge pull request #8716 from hrydgard/remove-preprocessor-hacks
Remove preprocessor hacks around the JITs
2016-05-01 18:47:59 +02:00
Henrik Rydgard ccce19e14a Fix accidentally truncated comment. 2016-05-01 18:47:32 +02:00
Unknown W. Brackets c30287c4e5 Another buildfix for Qt, linking issue.
This is a bit of a hack, but it resolves the linking issue that only
seems to happen in the Qt build system.
2016-05-01 09:17:55 -07:00
Unknown W. Brackets 994d2dd85e Skip video in replacement saving by default. 2016-05-01 08:58:14 -07:00
Unknown W. Brackets c20075b0e0 Pass video info to texture replacements. 2016-05-01 08:54:43 -07:00
Unknown W. Brackets f5b93bc6f0 Remove global num videos hack. 2016-05-01 08:53:48 -07:00
Unknown W. Brackets 99d29356d7 Track video addresses in texture cache. 2016-05-01 08:39:18 -07:00
Unknown W. Brackets 329be68f57 Fix error when disabled.
We want to return a reference here, so let's always return.
2016-05-01 08:04:15 -07:00
Henrik Rydgård e91fc59bbe Merge pull request #8693 from sum2012/pmp-video
Temporarily disable PMP video for non-windows
2016-05-01 11:49:55 +02:00
Henrik Rydgard ffe4c266ef Add CodeBlockCommon base class to remove further arch-specificity in JitBlockCache
Remove unused ArmThunk.
2016-05-01 11:40:00 +02:00
Henrik Rydgard 8b450c8034 Merge NativeJit.cpp/h with JitCommon.cpp/h 2016-05-01 11:39:59 +02:00
Henrik Rydgard 5aadce59a2 Move architecture-specific code out of JitBlockCache 2016-05-01 11:39:58 +02:00
Henrik Rydgard a5be0976bd Remove preprocessor hacks to choose JIT implementation.
Opens up for having multiple JIT implementations available at runtime,
which could be use for experimenting with new JIT compiler types or for
unit testing one JIT on another architecture.

Very few of the newly virtual calls are on any sort of critical path so
hopefully there will not be a performance loss.
2016-05-01 11:39:53 +02:00
Henrik Rydgard 106a7d6a3b Remove more unused code (advanceCallback) 2016-05-01 11:35:16 +02:00
Henrik Rydgard 4645473dab Remove unused code 2016-05-01 11:35:16 +02:00
Unknown W. Brackets 450554450f Attempt to buildfix Symbian. 2016-05-01 00:48:11 -07:00