disable literal optimations in DTCM
This commit is contained in:
parent
0c5311731b
commit
60650fa82e
|
@ -347,8 +347,10 @@ void Compiler::Comp_MemAccess(int rd, int rn, const ComplexOperand& op2, int siz
|
||||||
// stupid dtcm...
|
// stupid dtcm...
|
||||||
if (addr >= cpu5->DTCMBase && addr < (cpu5->DTCMBase + cpu5->DTCMSize))
|
if (addr >= cpu5->DTCMBase && addr < (cpu5->DTCMBase + cpu5->DTCMSize))
|
||||||
{
|
{
|
||||||
region.Mem = cpu5->DTCM;
|
// disable this for now as DTCM is located in heap
|
||||||
region.Mask = 0x3FFF;
|
// which might excced the RIP-addressable range
|
||||||
|
//region.Mem = cpu5->DTCM;
|
||||||
|
//region.Mask = 0x3FFF;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue