Update native with workaround for #4078 and add some comments

This commit is contained in:
Henrik Rydgard 2013-10-08 20:09:43 +02:00
parent a0f10d5cdf
commit e08ac100ce
4 changed files with 16 additions and 2 deletions

View File

@ -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;

View File

@ -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,

2
lang

@ -1 +1 @@
Subproject commit 6d8cc479c8be8ba20bdab5595e5c041e7db0cdf7
Subproject commit fa980bf1e567687c3649e4b2b461d1a223f800cc

2
native

@ -1 +1 @@
Subproject commit e409b65e85b6f1b0cc06f8b5db220aca0505ed5d
Subproject commit 5bbab2794a009061a3b5bbf6b69b3ef32d34c152