-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathExecuteMEM.h
85 lines (79 loc) · 3.93 KB
/
ExecuteMEM.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#ifndef EXECUTE_MEM_H
#define EXECUTE_MEM_H
#include "mpe.h"
void GenerateMirrorLookupTable();
void GenerateSaturateColorTables();
// leave all these __fastcalls alone, as these are used by the JIT to pass data in/out via registers
void __fastcall _LoadPixelAbsolute(MPE* const __restrict mpe, const void* const __restrict memPtr);
void __fastcall _LoadPixelZAbsolute(MPE* const __restrict mpe, const void* const __restrict memPtr);
void __fastcall _StorePixelAbsolute(const MPE* const __restrict mpe, void* const __restrict memPtr);
void __fastcall _StorePixelZAbsolute(const MPE* const __restrict mpe, void* const __restrict memPtr);
uint32 __fastcall GetBilinearAddress(const uint32 xy, const uint32 control);
NuanceHandlerProto Execute_Mirror;
NuanceHandlerProto Execute_MV_SImmediate;
NuanceHandlerProto Execute_MV_SScalar;
NuanceHandlerProto Execute_MV_V;
NuanceHandlerProto Execute_PopVector;
NuanceHandlerProto Execute_PopVectorRz;
NuanceHandlerProto Execute_PopScalarRzi1;
NuanceHandlerProto Execute_PopScalarRzi2;
NuanceHandlerProto Execute_PushVector;
NuanceHandlerProto Execute_PushVectorRz;
NuanceHandlerProto Execute_PushScalarRzi1;
NuanceHandlerProto Execute_PushScalarRzi2;
NuanceHandlerProto Execute_LoadScalarLinear;
NuanceHandlerProto Execute_LoadScalarControlRegisterAbsolute;
NuanceHandlerProto Execute_LoadByteAbsolute;
NuanceHandlerProto Execute_LoadWordAbsolute;
NuanceHandlerProto Execute_LoadScalarAbsolute;
NuanceHandlerProto Execute_LoadScalarRegisterAbsolute;
NuanceHandlerProto Execute_LoadShortVectorAbsolute;
NuanceHandlerProto Execute_LoadVectorAbsolute;
NuanceHandlerProto Execute_LoadVectorControlRegisterAbsolute;
NuanceHandlerProto Execute_LoadPixelAbsolute;
NuanceHandlerProto Execute_LoadPixelZAbsolute;
NuanceHandlerProto Execute_LoadByteLinear;
NuanceHandlerProto Execute_LoadByteBilinearUV;
NuanceHandlerProto Execute_LoadByteBilinearXY;
NuanceHandlerProto Execute_LoadWordLinear;
NuanceHandlerProto Execute_LoadWordBilinearUV;
NuanceHandlerProto Execute_LoadWordBilinearXY;
NuanceHandlerProto Execute_LoadScalarBilinearUV;
NuanceHandlerProto Execute_LoadScalarBilinearXY;
NuanceHandlerProto Execute_LoadShortVectorLinear;
NuanceHandlerProto Execute_LoadShortVectorBilinearUV;
NuanceHandlerProto Execute_LoadShortVectorBilinearXY;
NuanceHandlerProto Execute_LoadVectorLinear;
NuanceHandlerProto Execute_LoadVectorBilinearUV;
NuanceHandlerProto Execute_LoadVectorBilinearXY;
NuanceHandlerProto Execute_LoadPixelLinear;
NuanceHandlerProto Execute_LoadPixelBilinearUV;
NuanceHandlerProto Execute_LoadPixelBilinearXY;
NuanceHandlerProto Execute_LoadPixelZLinear;
NuanceHandlerProto Execute_LoadPixelZBilinearUV;
NuanceHandlerProto Execute_LoadPixelZBilinearXY;
NuanceHandlerProto Execute_StoreScalarAbsolute;
NuanceHandlerProto Execute_StoreScalarControlRegisterAbsolute;
NuanceHandlerProto Execute_StoreShortVectorAbsolute;
NuanceHandlerProto Execute_StoreVectorAbsolute;
NuanceHandlerProto Execute_StoreVectorControlRegisterAbsolute;
NuanceHandlerProto Execute_StorePixelAbsolute;
NuanceHandlerProto Execute_StorePixelZAbsolute;
NuanceHandlerProto Execute_StoreScalarLinear;
NuanceHandlerProto Execute_StoreScalarBilinearUV;
NuanceHandlerProto Execute_StoreScalarBilinearXY;
NuanceHandlerProto Execute_StoreShortVectorLinear;
NuanceHandlerProto Execute_StoreShortVectorBilinearUV;
NuanceHandlerProto Execute_StoreShortVectorBilinearXY;
NuanceHandlerProto Execute_StoreVectorLinear;
NuanceHandlerProto Execute_StoreVectorBilinearUV;
NuanceHandlerProto Execute_StoreVectorBilinearXY;
NuanceHandlerProto Execute_StorePixelLinear;
NuanceHandlerProto Execute_StorePixelBilinearUV;
NuanceHandlerProto Execute_StorePixelBilinearXY;
NuanceHandlerProto Execute_StorePixelZLinear;
NuanceHandlerProto Execute_StorePixelZBilinearUV;
NuanceHandlerProto Execute_StorePixelZBilinearXY;
NuanceHandlerProto Execute_StoreScalarControlRegisterImmediate;
NuanceHandlerProto Execute_StoreScalarImmediate;
#endif