mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 14:30:27 +02:00
Shouldn't check for NEON on ARM64
This commit is contained in:
1 parent
eb1fd7bdb3
commit
5736f3aba6
1 file changed
+8
-10
@@ -168,16 +168,14 @@ JittedVertexDecoder VertexDecoderJitCache::Compile(const VertexDecoder &dec) {
|
||||
// Keep the scale/offset in a few fp registers if we need it.
|
||||
if (prescaleStep) {
|
||||
MOVP2R(X3, &gstate_c.uv);
|
||||
if (cpu_info.bNEON) {
|
||||
fp.LDR(64, INDEX_UNSIGNED, neonUVScaleReg, X3, 0);
|
||||
fp.LDR(64, INDEX_UNSIGNED, neonUVOffsetReg, X3, 8);
|
||||
if ((dec.VertexType() & GE_VTYPE_TC_MASK) == GE_VTYPE_TC_8BIT) {
|
||||
fp.MOVI2FDUP(neonScratchRegD, by128, scratchReg);
|
||||
fp.FMUL(32, neonUVScaleReg, neonUVScaleReg, neonScratchRegD);
|
||||
} else if ((dec.VertexType() & GE_VTYPE_TC_MASK) == GE_VTYPE_TC_16BIT) {
|
||||
fp.MOVI2FDUP(neonScratchRegD, by32768, scratchReg);
|
||||
fp.FMUL(32, neonUVScaleReg, neonUVScaleReg, neonScratchRegD);
|
||||
}
|
||||
fp.LDR(64, INDEX_UNSIGNED, neonUVScaleReg, X3, 0);
|
||||
fp.LDR(64, INDEX_UNSIGNED, neonUVOffsetReg, X3, 8);
|
||||
if ((dec.VertexType() & GE_VTYPE_TC_MASK) == GE_VTYPE_TC_8BIT) {
|
||||
fp.MOVI2FDUP(neonScratchRegD, by128, scratchReg);
|
||||
fp.FMUL(32, neonUVScaleReg, neonUVScaleReg, neonScratchRegD);
|
||||
} else if ((dec.VertexType() & GE_VTYPE_TC_MASK) == GE_VTYPE_TC_16BIT) {
|
||||
fp.MOVI2FDUP(neonScratchRegD, by32768, scratchReg);
|
||||
fp.FMUL(32, neonUVScaleReg, neonUVScaleReg, neonScratchRegD);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user