mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Update native with workaround for #4078 and add some comments
This commit is contained in:
1 parent
a0f10d5cdf
commit
e08ac100ce
4 files changed
+16
-2
No files matched your search
@@ -29,6 +29,8 @@
|
||||
#include "Core/MIPS/ARM/ArmJit.h"
|
||||
#include "Core/MIPS/ARM/ArmRegCache.h"
|
||||
|
||||
// Cool NEON references:
|
||||
// http://www.delmarnorth.com/microwave/requirements/neon-test-tutorial.pdf
|
||||
|
||||
const bool disablePrefixes = false;
|
||||
|
||||
|
||||
@@ -32,6 +32,18 @@ using namespace Gen;
|
||||
// Temp regs: 4 from S prefix, 4 from T prefix, 4 from D mask, and 4 for work (worst case.)
|
||||
// But most of the time prefixes aren't used that heavily so we won't use all of them.
|
||||
|
||||
// PLANS FOR PROPER SIMD
|
||||
// 1, 2, 3, and 4-vectors will be loaded into single XMM registers
|
||||
// Matrices will be loaded into pairs, triads, or quads of XMM registers - simply by loading
|
||||
// the columns or the rows one by one.
|
||||
|
||||
// On x86 this means that only one 4x4 matrix can be fully loaded at once but that's alright.
|
||||
// We might want to keep "linearized" columns in memory.
|
||||
|
||||
// Implement optimized vec/matrix multiplications of all types and transposes that
|
||||
// take into account in which XMM registers the values are. Fallback: Just dump out the values
|
||||
// and do it the old way.
|
||||
|
||||
enum {
|
||||
NUM_TEMPS = 16,
|
||||
TEMP0 = 32 + 128,
|
||||
|
||||
+1
-1
Submodule lang updated: 6d8cc479c8...fa980bf1e5.
+1
-1
Submodule native updated: e409b65e85...5bbab2794a.
Reference in new issue
Block a user