mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
VertexDecoder: Aligned code seems to help Symbian (armv6) performance. It is also used for CPU JIT so there's likely a reason.
This commit is contained in:
parent
ff1d53c9c7
commit
eaa52c4a61
2 changed files with 3 additions and 3 deletions
|
@ -878,7 +878,7 @@ int VertexDecoder::ToString(char *output) const {
|
|||
}
|
||||
|
||||
VertexDecoderJitCache::VertexDecoderJitCache() {
|
||||
// 64k should be enough.
|
||||
// 256k should be enough.
|
||||
AllocCodeSpace(1024 * 64 * 4);
|
||||
|
||||
// Add some random code to "help" MSVC's buggy disassembler :(
|
||||
|
@ -982,7 +982,7 @@ static const JitLookup jitLookup[] = {
|
|||
|
||||
JittedVertexDecoder VertexDecoderJitCache::Compile(const VertexDecoder &dec) {
|
||||
dec_ = &dec;
|
||||
const u8 *start = this->GetCodePtr();
|
||||
const u8 *start = AlignCode16();
|
||||
|
||||
bool prescaleStep = false;
|
||||
bool skinning = false;
|
||||
|
|
2
native
2
native
|
@ -1 +1 @@
|
|||
Subproject commit cf895f95d7ae75d4535cf252687fd4f9c4f1663b
|
||||
Subproject commit 60eb1a1de846b0a14b321f307668090f977e6efb
|
Loading…
Add table
Reference in a new issue