Stack smashing when scheduling third warp.

This commit is contained in:
felsabbagh3
2019-02-15 01:45:54 -05:00
parent 337a8669fe
commit 3958beef09
14 changed files with 81019 additions and 482 deletions

View File

@@ -101,6 +101,12 @@ void MemoryUnit::ADecoder::write(Addr a, Word w, bool sup, Size wordSize) {
// std::cout << std::hex << "ADecoder::write(Addr " << a << ", w " << w << ", sup " << sup << ", wordSize " << wordSize << "\n";
Word before = m.read(a);
Word new_word = w;
if (a == 0x8000012c)
{
printf("WRITING TO 0x8000012c -> %d\n", w);
}
if (wordSize == 8)
{
r.writeByte(a, &w);