mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 02:59:49 +01:00
vertexjit: Save S16-S31 registers in ARM.
This commit is contained in:
1 parent
b04553b983
commit
009c3ee3f7
2 files changed
+12
No files matched your search
@@ -157,6 +157,9 @@ JittedVertexDecoder VertexDecoderJitCache::Compile(const VertexDecoder &dec) {
|
||||
SetCC(CC_AL);
|
||||
|
||||
PUSH(6, R4, R5, R6, R7, R8, R_LR);
|
||||
if (cpu_info.bNEON) {
|
||||
VPUSH(D8, 8);
|
||||
}
|
||||
|
||||
// Keep the scale/offset in a few fp registers if we need it.
|
||||
// This step can be NEON-ized but the savings would be miniscule.
|
||||
@@ -244,6 +247,9 @@ JittedVertexDecoder VertexDecoderJitCache::Compile(const VertexDecoder &dec) {
|
||||
SUBS(counterReg, counterReg, 1);
|
||||
B_CC(CC_NEQ, loopStart);
|
||||
|
||||
if (cpu_info.bNEON) {
|
||||
VPOP(D8, 8);
|
||||
}
|
||||
POP(6, R4, R5, R6, R7, R8, R_PC);
|
||||
|
||||
FlushLitPool();
|
||||
|
||||
Reference in new issue
Block a user