mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Update native with workaround for #4078 and add some comments
This commit is contained in:
parent
a0f10d5cdf
commit
e08ac100ce
4 changed files with 16 additions and 2 deletions
|
@ -29,6 +29,8 @@
|
||||||
#include "Core/MIPS/ARM/ArmJit.h"
|
#include "Core/MIPS/ARM/ArmJit.h"
|
||||||
#include "Core/MIPS/ARM/ArmRegCache.h"
|
#include "Core/MIPS/ARM/ArmRegCache.h"
|
||||||
|
|
||||||
|
// Cool NEON references:
|
||||||
|
// http://www.delmarnorth.com/microwave/requirements/neon-test-tutorial.pdf
|
||||||
|
|
||||||
const bool disablePrefixes = false;
|
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.)
|
// 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.
|
// 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 {
|
enum {
|
||||||
NUM_TEMPS = 16,
|
NUM_TEMPS = 16,
|
||||||
TEMP0 = 32 + 128,
|
TEMP0 = 32 + 128,
|
||||||
|
|
2
lang
2
lang
|
@ -1 +1 @@
|
||||||
Subproject commit 6d8cc479c8be8ba20bdab5595e5c041e7db0cdf7
|
Subproject commit fa980bf1e567687c3649e4b2b461d1a223f800cc
|
2
native
2
native
|
@ -1 +1 @@
|
||||||
Subproject commit e409b65e85b6f1b0cc06f8b5db220aca0505ed5d
|
Subproject commit 5bbab2794a009061a3b5bbf6b69b3ef32d34c152
|
Loading…
Add table
Reference in a new issue