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

@@ -525,6 +525,12 @@ void Instruction::executeOn(Warp &c) {
}
}
break;
case 4:
// JMPRT
nextActiveThreads = 1;
if (!pcSet) nextPc = reg[rsrc[0]];
pcSet = true;
break;
case 5:
// CLONE
// std::cout << "CLONE\n";
@@ -545,7 +551,7 @@ void Instruction::executeOn(Warp &c) {
}
break;
default:
cout << "ERROR: Unsupported instruction: " << *this << "\n";
cout << "aERROR: Unsupported instruction: " << *this << "\n";
exit(1);
}
}