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:
Sacha committed 2013-11-14 15:30:07 +10:00
1 parent ff1d53c9c7
commit eaa52c4a61
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -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;
+1 -1
Submodule native updated: cf895f95d7...60eb1a1de8.