Fix damage to trap instruction caused by warp correctness bugfixes.

This commit is contained in:
cdkersey 2015-08-04 13:32:10 -06:00
parent 6732690f8c
commit 6880e01db6

View file

@ -281,11 +281,11 @@ void Instruction::executeOn(Warp &c) {
break;
case ISNEG: pReg[pdest] = (1ll<<(wordSz*8 - 1))&reg[rsrc[0]];
break;
case HALT: D(3, "=== EXECUTING halt ===");
c.activeThreads = 0;
case HALT: c.activeThreads = 0;
nextActiveThreads = 0;
break;
case TRAP: c.interrupt(0);
nextPc = c.core->interruptEntry;
break;
case JMPRU: c.supervisorMode = false;
if (!pcSet) nextPc = reg[rsrc[0]];